Skip to content

[P2P] Adopt LibP2P PeerIDs #749

@jessicadaugherty

Description

@jessicadaugherty

Objective

Adopt LibP2P PeerIDs to achieve a unique, verifiable, and secure identification system for nodes

Origin Document

ADR-0003

Goals

  • Integrate LibP2P PeerIDs as the primary node identification system in the Pocket Network
  • Ensure unique and verifiable node identifiers
  • Maintain compatibility with other LibP2P components and the refactored P2P module

Deliverable

  • Update the codebase to adopt LibP2P PeerIDs for node identification
  • Replace any custom identity schemes with LibP2P PeerIDs
  • Implement necessary changes to ensure compatibility with other LibP2P components and the refactored P2P module
  • Update related documentation and code comments to reflect the adoption of LibP2P PeerIDs

Non-goals / Non-deliverables

  • Refactoring of the codebase beyond the scope of adopting Libp2p PeerIDs as the primary node identification system

General issue deliverables

  • Update the appropriate CHANGELOG
  • Update any relevant READMEs (local and/or global)
  • Update any relevant global documentation & references
  • If applicable, update the source code tree explanation
  • If applicable, add or update a state, sequence or flowchart diagram using mermaid

Testing Methodology

  • All tests: make test_all
  • LocalNet: verify a LocalNet is still functioning correctly by following the instructions at docs/development/README.md

Creator: @jessicadaugherty

Metadata

Metadata

Labels

p2pP2P specific changes

Type

No type

Projects

Status

Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions