diff options
| author | Henrik Jonsson <[email protected]> | 2017-12-06 12:47:28 +0000 |
|---|---|---|
| committer | Henrik Jonsson <[email protected]> | 2017-12-06 13:11:02 +0000 |
| commit | 3fdb29778a0b598d4ddf05ec5ed4593641d0da6e (patch) | |
| tree | 8cc9289e1afe8b72d0f2a0ad28012b6ea2a54bcd | |
| parent | Merge #10275: [rpc] Allow fetching tx directly from specified block in getraw... (diff) | |
| download | discoin-3fdb29778a0b598d4ddf05ec5ed4593641d0da6e.tar.xz discoin-3fdb29778a0b598d4ddf05ec5ed4593641d0da6e.zip | |
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.
| -rw-r--r-- | Makefile.am | 2 | ||||
| -rw-r--r-- | contrib/debian/examples/bitcoin.conf | 4 | ||||
| -rw-r--r-- | share/rpcauth/README.md | 10 | ||||
| -rwxr-xr-x | share/rpcauth/rpcauth.py (renamed from share/rpcuser/rpcuser.py) | 0 | ||||
| -rw-r--r-- | share/rpcuser/README.md | 10 |
5 files changed, 13 insertions, 13 deletions
diff --git a/Makefile.am b/Makefile.am index 9b791cc0e..31525e2c6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,7 +46,7 @@ DIST_CONTRIB = $(top_srcdir)/contrib/bitcoin-cli.bash-completion \ $(top_srcdir)/contrib/rpm DIST_SHARE = \ $(top_srcdir)/share/genbuild.sh \ - $(top_srcdir)/share/rpcuser + $(top_srcdir)/share/rpcauth BIN_CHECKS=$(top_srcdir)/contrib/devtools/symbol-check.py \ $(top_srcdir)/contrib/devtools/security-check.py diff --git a/contrib/debian/examples/bitcoin.conf b/contrib/debian/examples/bitcoin.conf index 14a59fdf6..4dd73162a 100644 --- a/contrib/debian/examples/bitcoin.conf +++ b/contrib/debian/examples/bitcoin.conf @@ -77,9 +77,9 @@ #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 -# 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: # rpcauth=alice:f7efda5c189b999524f151318c0c86$d5b51b3beffbc02b724e5d095828e0bc8b2456e9ac8757ae3211a5d9b16a22ae # Your password: diff --git a/share/rpcauth/README.md b/share/rpcauth/README.md new file mode 100644 index 000000000..389278a12 --- /dev/null +++ b/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> diff --git a/share/rpcuser/rpcuser.py b/share/rpcauth/rpcauth.py index 6d9b44f69..6d9b44f69 100755 --- a/share/rpcuser/rpcuser.py +++ b/share/rpcauth/rpcauth.py diff --git a/share/rpcuser/README.md b/share/rpcuser/README.md deleted file mode 100644 index 12a8e6fb0..000000000 --- a/share/rpcuser/README.md +++ /dev/null @@ -1,10 +0,0 @@ -RPC Tools ---------------------- - -### [RPCUser](/share/rpcuser) ### - -Create an RPC user login credential. - -Usage: - - ./rpcuser.py <username> |