HomePhabricator

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

Description

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

Summary:
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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Subscribers: PiRK

Differential Revision: https://reviews.bitcoinabc.org/D14734

Details

Provenance
FabienAuthored on Nov 3 2023, 15:52
FabienPushed on Nov 6 2023, 08:17
Reviewer
Restricted Project
Differential Revision
D14734: [avalanche] Move the invalid proofs filter to the peer manager
Parents
rABC6d22902cb270: [Automated] Update seeds
Branches
Unknown
Tags
Unknown