lbcwallet/chain
Wilmer Paulino 526d132f09
chain: implement GetNodeAddresses fallback for PrunedBlockDispatcher
It's possible for bitcoind instances to only have connections to pruned
nodes after its initial block download, which are incompatible with the
PrunedBlockDispatcher. This would result in GetBlock requests for pruned
blocks to never resolve. Since bitcoind also exposes a GetNodeAddresses
RPC, which returns random reachable addresses from its address manager,
we can leverage it to obtain a new candidate set of peers that we
otherwise wouldn't obtain through GetPeers.
2021-04-23 13:28:56 -07:00
..
bitcoind_client.go chain: request pruned blocks from backend peers 2021-04-02 17:28:07 -07:00
bitcoind_conn.go chain: implement GetNodeAddresses fallback for PrunedBlockDispatcher 2021-04-23 13:28:56 -07:00
block_filterer.go chain: update block filterer to map outpoints to addrs 2018-07-16 19:47:17 -07:00
block_filterer_test.go chain: fix Fatalf format verb error 2019-05-11 13:05:17 -07:00
interface.go chain: add IsCurrent method to chain.Interface 2019-06-13 18:08:59 -07:00
log.go chain: add PrunedBlockDispatcher implementation 2021-04-02 17:28:05 -07:00
neutrino.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
pruned_block_dispatcher.go chain: implement GetNodeAddresses fallback for PrunedBlockDispatcher 2021-04-23 13:28:56 -07:00
pruned_block_dispatcher_test.go chain: implement GetNodeAddresses fallback for PrunedBlockDispatcher 2021-04-23 13:28:56 -07:00
queue.go chain: add concurrent unbounded queue implementation 2018-07-26 16:38:54 -07:00
rpc.go multi: fix linter issues 2021-03-24 14:44:32 +01:00
utils_test.go chain: add PrunedBlockDispatcher implementation 2021-04-02 17:28:05 -07:00