6eede89a43
In this commit, we fix the peer selection for the pruned block dispatcher. Turns out that the bits are actually mutually exclusive: a node can set the network bit _and_ the limited (pruned bit). The prior logic would only seek out "pure" nodes, meaning older nodes that wouldn't set the limited bit when they're a full-full node. We fix this by ignoring the limited bit, and we'll only look at the network and segwit bits. A unit test has also been added to show the issue in the prior filter function. |
||
---|---|---|
.. | ||
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 |