Merge #7550: rpc: Input-from-stdin mode for bitcoin-cli

f22f14c doc: mention bitcoin-cli -stdin in release notes (Wladimir J. van der Laan)
92bcca3 rpc: Input-from-stdin mode for bitcoin-cli (Wladimir J. van der Laan)
This commit is contained in:
Wladimir J. van der Laan committed 2016-02-24 11:33:25 +01:00
commit 8b958ab15b
2 files changed
+25 -9

No files matched your search

+13
View File
@@ -8,6 +8,19 @@ Example item
----------------
bitcoin-cli: arguments privacy
--------------------------------
The RPC command line client gained a new argument, `-stdin`
to read extra arguments from standard input, one per line until EOF/Ctrl-D.
For example:
$ echo -e "mysecretcode\n120" | src/bitcoin-cli -stdin walletpassphrase
It is recommended to use this for sensitive information such as wallet
passphrases, as command-line arguments can usually be read from the process
table by any user on the system.
0.13.0 Change log
=================