HomePhabricator

rpc: Input-from-stdin mode for bitcoin-cli
92bcca37ab0cUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Feb 17 2016, 14:03
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING8b70a64d62c6: Merge #7526: fix spelling of advertise (shows up in the debug log)
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rSTAGING92bcca37ab0c: rpc: Input-from-stdin mode for bitcoin-cli (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Feb 24 2016, 09:12