HomePhabricator

[avalanche] Check utxos integrity in the peer manager

Description

[avalanche] Check utxos integrity in the peer manager

Summary:
This extends the verify() method (testing only) to include a consistency check for the utxos map. This will be useful to make sure we are not making a mess when dealing with conflicting proofs.

Ref T1854.

Test Plan:

ninja check-avalanche

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

Maniphest Tasks: T1854

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

Details

Provenance
FabienAuthored on Oct 20 2021, 14:55
FabienPushed on Oct 20 2021, 15:58
Reviewer
Restricted Project
Differential Revision
D10369: [avalanche] Check utxos integrity in the peer manager
Parents
rABC0302976a96a1: [avalanche] Decode the payout script and proof signature in theā€¦
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task