526d132f09
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. |
||
---|---|---|
.. | ||
bitcoind_client.go | ||
bitcoind_conn.go | ||
block_filterer.go | ||
block_filterer_test.go | ||
interface.go | ||
log.go | ||
neutrino.go | ||
pruned_block_dispatcher.go | ||
pruned_block_dispatcher_test.go | ||
queue.go | ||
rpc.go | ||
utils_test.go |