Module peer

Module peer 

Source
Expand description

Peer information and management

This module provides peer tracking, storage, and management functionality:

  • PeerInfo: Information about a single peer
  • PeerStore: In-memory database of known peers
  • Connection tracking and history
  • Peer persistence (save/load to disk)

Structsยง

PeerInfo
Information about a peer in the network
PeerStore
Peer store for managing known peers
PeerStoreConfig
Peer store configuration
PeerStoreStats
Peer store statistics