Browse Source
1. bcli_args_direct() will be used in wait_for_bitcoind; At the beginning, we check if bitcoin-cli is running by "echo" command whitout any bitcoin_cli struction. If this first command fails, we need present the agrs gathered, like "-rpcuser", like "-rpcpassword". Related changes include: i) rename bcli_args() to bcli_args_direct(), and use 'const char **' as the paramater for bcli_args_direct(); ii) add a new function bcli_args() warpped on bcli_args_direct(), this warpping can reduce the large number of changes later in the file; 2. bcli_args() warpping on bcli_args_direct() is used like original.pull/2938/head
trueptolemy
6 years ago
committed by
Christian Decker
1 changed files with 14 additions and 6 deletions
Loading…
Reference in new issue