HomePhabricator

rpcauth: Make it possible to provide a custom password

Description

rpcauth: Make it possible to provide a custom password

Summary:

This adds the functionality to specify a custom password to
`rpcauth.py`, as well as makes the code (IMO) easier to understand.

Backport of core PR13146
https://github.com/bitcoin/bitcoin/pull/13146/files

Depends on D3759.

Test Plan:

make check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D3780

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on May 2 2018, 03:09
FabienCommitted on Aug 5 2019, 07:11
FabienPushed on Aug 5 2019, 07:12
Reviewer
Restricted Project
Differential Revision
D3780: rpcauth: Make it possible to provide a custom password
Parents
rABCc6982e5954ac: Tests: add usage note to check-rpc-mappings.py
Branches
Unknown
Tags
Unknown