This doesn't change the behavior to the extent that selecting a peer with no node would trigger another selection round, but this wasteful.
Instead, we maintain the node count attached to the peer and act accordingly.
Depends on D8606
Differential D8610
[avalanche] Only select from peers which have an actual node attached deadalnix on Dec 6 2020, 16:53. Authored by Tags None Subscribers None
Details
This doesn't change the behavior to the extent that selecting a peer with no node would trigger another selection round, but this wasteful. Instead, we maintain the node count attached to the peer and act accordingly. Depends on D8606 Addd code in PeerManager::verify to check that the node count is tracked properly.
Diff Detail
|