Page MenuHomePhabricator

[avalanche] Use ProofId instead of PeerId
ClosedPublic

Authored by deadalnix on Jul 7 2020, 23:51.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC1e7137e1a1c8: [avalanche] Use ProofId instead of PeerId
Summary

Ultimatey, we want Peer to provide some kind of Proof that they are not sybils. We will need to prvide such proof to the PeerManager and have the PeerManager, well, manage the peers.

This means we will go through a gradual deprecation of the Peer based API as it is superseded by a Proof based one.

Each proof must have some kind of unique identifier, a ProofId, which will be used by the PeerManager to identify it, and, by extension, the Peer attached to it.

Test Plan
ninja all check-avalanche

Diff Detail

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

Event Timeline

deadalnix retitled this revision from [avalanche] Use proofs instead of PeerId to [avalanche] Use ProofId instead of PeerId.Jul 7 2020, 23:51
This revision is now accepted and ready to land.Jul 8 2020, 09:12
This revision was automatically updated to reflect the committed changes.