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
deadalnixPushed on May 14 2017, 22:04
Parents
rABC8b70a64d62c6: 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 rABC92bcca37ab0c: rpc: Input-from-stdin mode for bitcoin-cli (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Feb 24 2016, 09:12