Increase the timeout for RPC responses from Bitcoin Core 2021-05-bump-rpc-timeout
authorMatt Corallo <git@bluematt.me>
Thu, 6 May 2021 20:42:02 +0000 (20:42 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 10 May 2021 16:55:09 +0000 (16:55 +0000)
commit4ade6bcb69a1b93c9b5ddd991398abbd536906d0
tree93b3502ff6f093b5cac1fa359f6a4ddcdabe5a4d
parentb465318e12e4374d7e7cb3c00036fded340f155a
Increase the timeout for RPC responses from Bitcoin Core

Early sample testing showed multiple users hitting
EWOULDBLOCK/EAGAIN waiting for an initial response from Bitcoin
Core while it was doing some long operation (eg UTXO cache
flushing). Instead of only waiting 5 seconds for each attempt, we
now wait a full two minutes, but only for the first header
response, not each byte.
lightning-block-sync/src/http.rs