Page MenuHomePhabricator

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

Authored by Fabien on Nov 5 2021, 12:37.

Details

Reviewers
deadalnix
Group Reviewers
Restricted Project
Maniphest Tasks
Restricted Maniphest Task
Commits
rABC0c8a406eeb14: [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

Diff Detail

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