Module darkfi::net::p2p

source ·
Expand description

P2P provides all core functionality to interact with the P2P network.

Used to create a network, to start and run it, to broadcast messages across all channels, and to manage the channel store.

The channel store is a hashmap of channel addresses that we can use to add and remove channels or check whether a channel is already in the store.

Structs§

  • Toplevel peer-to-peer networking interface

Type Aliases§

  • Atomic pointer to the p2p interface