HomePhabricator

[avalanche] Attach Proof to each Peer

Description

[avalanche] Attach Proof to each Peer

Summary:
Right now, the proof simply consist of a random id and a score, but ultimately, we want these to be computed from data provided by the peers. By providing an opaque interface, we don't need to worry about this to move forward on the PeerManager.

Depends on D6847

Test Plan:

ninja all check-avalanche

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
deadalnixAuthored on Jul 7 2020, 22:02
deadalnixPushed on Jul 8 2020, 14:47
Reviewer
Restricted Project
Differential Revision
D6848: [avalanche] Attach Proof to each Peer
Parents
rABC1e7137e1a1c8: [avalanche] Use ProofId instead of PeerId
Branches
Unknown
Tags
Unknown