mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 14:08:40 +01:00
rpcauth: Make it possible to provide a custom password
This adds the functionality to specify a custom password to `rpcauth.py`, as well as makes the code (IMO) easier to understand.
This commit is contained in:
@@ -8,3 +8,7 @@ Create login credentials for a JSON-RPC user.
|
||||
Usage:
|
||||
|
||||
./rpcauth.py <username>
|
||||
|
||||
in which case the script will generate a password. To specify a custom password do:
|
||||
|
||||
./rpcauth.py <username> <password>
|
||||
|
||||
Reference in New Issue
Block a user