diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-02-17 15:03:38 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-02-24 10:12:25 +0100 |
| commit | 92bcca37ab0c52789b13ebee1f4659e30f05e2b6 (patch) | |
| tree | 6d8e536eed9c2cdac24c2a07f3cce083e364811e /src/init.cpp | |
| parent | Merge #7526: fix spelling of advertise (shows up in the debug log) (diff) | |
| download | discoin-92bcca37ab0c52789b13ebee1f4659e30f05e2b6.tar.xz discoin-92bcca37ab0c52789b13ebee1f4659e30f05e2b6.zip | |
rpc: Input-from-stdin mode for bitcoin-cli
Implements #7442 by adding an option `-stdin` which reads
additional arguments from stdin, one per line.
For example
```bash
echo -e "mysecretcode\n120" | src/bitcoin-cli -stdin walletpassphrase
echo -e "walletpassphrase\nmysecretcode\n120" | src/bitcoin-cli -stdin
```
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions