Browse Source
Fixes #442. First, the CONNREFUSED socket error is handled in jsonrpc. Second, we respond to this (but *not* to resets) with a reactor shutdown in BitcoinCoreInterface.rpc(). This also necessitates early-quitting in the calling function (WalletService.transaction_monitor) since the reactor stop will only stop future deferred calls, not the currently running one. The obvious sys.exit approach is only used in startup, because the reactor is not currently running at that point. Also minor change to DummyBlockchainInterface for test.master
4 changed files with 71 additions and 7 deletions
Loading…
Reference in new issue