HomePhabricator

[avalanche] Make the proof comparator able to work with proofs and proof…

Description

[avalanche] Make the proof comparator able to work with proofs and proof pointers

Summary:
As suggested by @deadalnix https://reviews.bitcoinabc.org/D10342#inline-48629, this makes the comparator more generic and is basically free.

Because the unit test uses shared pointers, there is no loss of test coverage.

Ref T1854.

Test Plan:

ninja all check

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Maniphest Tasks: T1854

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

Details

Provenance
FabienAuthored on Oct 15 2021, 07:17
FabienPushed on Oct 15 2021, 11:50
Reviewer
Restricted Project
Differential Revision
D10355: [avalanche] Make the proof comparator able to work with proofs and proof pointers
Parents
rABC893267138225: test: Check that invalid peer traffic is accounted for
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task