Page MenuHomePhabricator

[avalanche] Remote proofs: only account for the stake once when a peer has several nodes
ClosedPublic

Authored by Fabien on Dec 8 2023, 20:41.

Details

Summary

The current heuristic account for the stake for each node, so if several nodes belong to a single peer they are accounted several times. This is not in par with the polling selection algorithm, so let's update the heuristic so it gets closer.

Test Plan
ninja check-avalanche-peermanager_tests

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable