Page MenuHomePhabricator

[avalanche] Make `isConflictingProofPreferred` a comparator
ClosedPublic

Authored by Fabien on Nov 8 2021, 08:09.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC5f0c2f9d3060: [avalanche] Make `isConflictingProofPreferred` a comparator
Summary

This was intended to be a peer manager static method, but it will eventually be used in the orphan proof pool as well, so let make it a proper comparator.

Ref T1854.

Supersedes D10404.
Depends on D10435.

Test Plan
ninja all check-avalanche

Diff Detail

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