Skip to content

Commit 3fdb297

Browse files
committed
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.
1 parent 497d0e0 commit 3fdb297

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ DIST_CONTRIB = $(top_srcdir)/contrib/bitcoin-cli.bash-completion \
4646
$(top_srcdir)/contrib/rpm
4747
DIST_SHARE = \
4848
$(top_srcdir)/share/genbuild.sh \
49-
$(top_srcdir)/share/rpcuser
49+
$(top_srcdir)/share/rpcauth
5050

5151
BIN_CHECKS=$(top_srcdir)/contrib/devtools/symbol-check.py \
5252
$(top_srcdir)/contrib/devtools/security-check.py

contrib/debian/examples/bitcoin.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
#rpcpassword=YourSuperGreatPasswordNumber_DO_NOT_USE_THIS_OR_YOU_WILL_GET_ROBBED_385593
7878
#
7979
# The second method `rpcauth` can be added to server startup argument. It is set at initialization time
80-
# using the output from the script in share/rpcuser/rpcuser.py after providing a username:
80+
# using the output from the script in share/rpcauth/rpcauth.py after providing a username:
8181
#
82-
# ./share/rpcuser/rpcuser.py alice
82+
# ./share/rpcauth/rpcauth.py alice
8383
# String to be appended to bitcoin.conf:
8484
# rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae
8585
# Your password:

share/rpcauth/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
RPC Tools
2+
---------------------
3+
4+
### [RPCAuth](/share/rpcauth) ###
5+
6+
Create login credentials for a JSON-RPC user.
7+
8+
Usage:
9+
10+
./rpcauth.py <username>
File renamed without changes.

share/rpcuser/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)