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
Branch
avalanche_conflictingproofcomparator
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17199
Build 34229: Build Difflint-circular-dependencies · build-clang-tidy · build-without-wallet · build-debug · build-clang · build-diff
Build 34228: arc lint + arc unit