Browse Source

Rename rpcuser.py to rpcauth.py

This script creates `rpcauth` entries for bitcoin.conf,
not the deprecated `rpcuser` entry, so this changes the name
of the script to match.
0.16
Henrik Jonsson 7 years ago
parent
commit
3fdb29778a
  1. 2
      Makefile.am
  2. 4
      contrib/debian/examples/bitcoin.conf
  3. 10
      share/rpcauth/README.md
  4. 0
      share/rpcauth/rpcauth.py
  5. 10
      share/rpcuser/README.md

2
Makefile.am

@ -46,7 +46,7 @@ DIST_CONTRIB = $(top_srcdir)/contrib/bitcoin-cli.bash-completion \
$(top_srcdir)/contrib/rpm $(top_srcdir)/contrib/rpm
DIST_SHARE = \ DIST_SHARE = \
$(top_srcdir)/share/genbuild.sh \ $(top_srcdir)/share/genbuild.sh \
$(top_srcdir)/share/rpcuser $(top_srcdir)/share/rpcauth
BIN_CHECKS=$(top_srcdir)/contrib/devtools/symbol-check.py \ BIN_CHECKS=$(top_srcdir)/contrib/devtools/symbol-check.py \
$(top_srcdir)/contrib/devtools/security-check.py $(top_srcdir)/contrib/devtools/security-check.py

4
contrib/debian/examples/bitcoin.conf vendored

@ -77,9 +77,9 @@
#rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593 #rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593
# #
# The second method `rpcauth` can be added to server startup argument. It is set at initialization time # The second method `rpcauth` can be added to server startup argument. It is set at initialization time
# using the output from the script in share/rpcuser/rpcuser.py after providing a username: # using the output from the script in share/rpcauth/rpcauth.py after providing a username:
# #
# ./share/rpcuser/rpcuser.py alice # ./share/rpcauth/rpcauth.py alice
# String to be appended to bitcoin.conf: # String to be appended to bitcoin.conf:
# rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae # rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae
# Your password: # Your password:

10
share/rpcauth/README.md

@ -0,0 +1,10 @@
RPC Tools
---------------------
### [RPCAuth](/share/rpcauth) ###
Create login credentials for a JSON-RPC user.
Usage:
./rpcauth.py <username>

0
share/rpcuser/rpcuser.py → share/rpcauth/rpcauth.py

10
share/rpcuser/README.md

@ -1,10 +0,0 @@
RPC Tools
---------------------
### [RPCUser](/share/rpcuser) ###
Create an RPC user login credential.
Usage:
./rpcuser.py <username>
Loading…
Cancel
Save