diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-02-17 15:03:38 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-02-24 10:12:25 +0100 |
commit | 92bcca37ab0c52789b13ebee1f4659e30f05e2b6 (patch) | |
tree | 6d8e536eed9c2cdac24c2a07f3cce083e364811e /src/net.h | |
parent | 8b70a64d62c6e64288762d062414cc979f880c54 (diff) |
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/net.h')
0 files changed, 0 insertions, 0 deletions