Page MenuHomePhabricator

[avalanche] Move the invalid proofs filter to the peer manager

Authored by Fabien on Fri, Nov 3, 16:14.



This is actually a global in net_processing, move it to the peer manager where it belongs and gives accessors.
This will make it possible to declare a proof invalid from a RPC (future diff).

There is no change of behavior.

Test Plan
ninja all check-all

Diff Detail

rABC Bitcoin ABC
Lint Not Applicable
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Fri, Nov 3, 16:14
PiRK accepted this revision.EditedFri, Nov 3, 16:25
PiRK added a subscriber: PiRK.

nice wrapping, one less mutex and one less global

This revision is now accepted and ready to land.Fri, Nov 3, 16:25