HomePhabricator

[avalanche] Store proofs associated with utxos instead of peer ids

Description

[avalanche] Store proofs associated with utxos instead of peer ids

Summary:
We are willing to deal with conflicting proofs, so this structure will make it easier. A conflicting proof (i.e. a proof sharing at least on UTXO with another) might not have a peer associated, e.g. in case of an orphan. There is no change in behavior.

Ref T1854.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Maniphest Tasks: T1854

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

Details

Provenance
FabienAuthored on Nov 5 2021, 12:28
FabienPushed on Nov 18 2021, 08:27
Reviewer
Restricted Project
Differential Revision
D10436: [avalanche] Store proofs associated with utxos instead of peer ids
Parents
rABC7df196b92feb: [avalanche] Improve the conflicting proof selection algorithm
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task