Page MenuHomePhabricator

[avalanche] Accept the conflicting proofs if they are preferred
AbandonedPublic

Authored by Fabien on Oct 28 2021, 14:15.

Details

Reviewers
None
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Summary

This diff lets the peer manager accept conflicting proofs that are preferred over all the existing ones, which ends up orphaned. This feature is disabled by default and hidden behind an opiont switch so the behavior is unchanged by default.

Ref T1854.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_peermanager_accept_conflicting_proof
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 17127
Build 34086: Build Difflint-circular-dependencies · build-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang
Build 34085: arc lint + arc unit