Page MenuHomePhabricator

[avalanche] Improve const correctness of ProofPool::countProofs()
ClosedPublic

Authored by sdulfari on Sep 23 2022, 18:13.

Details

Summary

ProofPool has historically been a construct only manipulated by PeerManager.
We can cleanup PeerManager's API by exposing the pools but first we need to
ensure ProofPool's API is also clean and acceptable for use outside of the
context of PeerManager. This means not accidentially altering pools that we
fetch from PeerManager.

Test Plan
ninja check

Diff Detail

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