aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorJon Atack <[email protected]>2020-04-12 21:01:29 +0200
committerJon Atack <[email protected]>2020-05-21 10:23:48 +0200
commit29f2cbdeb7afdde87d108adf80cffad17d112632 (patch)
treeb18b3a52603185312b0c28f01c2095abd889fbd6 /src/httpserver.cpp
parentMerge #18724: test: add coverage for -rpcwallet cli option (diff)
downloaddiscoin-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