Browse Source
Running long integration tests could result in `bitcoind` dropping the connection inbetween calls, and since python-bitcoinlib does not reconnect and/or retry, all subsequent tests would fail as well. This patch switches to throwaway connections, each serving just one request. It's easier than to reach into the bitcoinlib to reconnect and reauth, but comes with some overhead, but I think it's acceptable for the few bitcoin calls we actually perform.ppa-0.6.1
Christian Decker
8 years ago
committed by
Rusty Russell
1 changed files with 26 additions and 1 deletions
Loading…
Reference in new issue