diff options
| author | Jon Atack <[email protected]> | 2020-04-12 21:01:29 +0200 |
|---|---|---|
| committer | Jon Atack <[email protected]> | 2020-05-21 10:23:48 +0200 |
| commit | 29f2cbdeb7afdde87d108adf80cffad17d112632 (patch) | |
| tree | b18b3a52603185312b0c28f01c2095abd889fbd6 /src/httpserver.cpp | |
| parent | Merge #18724: test: add coverage for -rpcwallet cli option (diff) | |
| download | discoin-29f2cbdeb7afdde87d108adf80cffad17d112632.tar.xz discoin-29f2cbdeb7afdde87d108adf80cffad17d112632.zip | |
cli: extract connection exception handler, -rpcwait logic
to ConnectAndCallRPC() to be callable for individual connections.
This is needed for RPCs that need to be called and handled sequentially, rather
than alone or in a batch.
For example, when fetching the balances for each loaded wallet, -getinfo will
call RPC listwallets, and then, depending on the result, RPC getbalances.
It may be somewhat helpful to review this commit with `git show -w`.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions