Page MenuHomePhabricator

[avalanche] Remove the invalid peers before the orphans rescan
ClosedPublic

Authored by Fabien on Oct 22 2021, 08:31.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABCf380d4e818a0: [avalanche] Remove the invalid peers before the orphans rescan
Summary

This makes it possible to pull back proofs with utxos that conflicted with these invalid peers.

Ref T1854.

Depends on D10370.

Test Plan
ninja all check-all

Diff Detail

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

Event Timeline

Fabien requested review of this revision.Oct 22 2021, 08:32
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/avalanche/test/peermanager_tests.cpp
820 ↗(On Diff #30645)

Maybe pb.build should a return a ProofRef?

This revision is now accepted and ready to land.Oct 26 2021, 00:14
src/avalanche/test/peermanager_tests.cpp
820 ↗(On Diff #30645)

yes