Module p2p

Source
Expand description

P2P

Will handle initiating the P2P and contains a protocol request handler.

Re-exports§

pub use network_address::CrossNetworkInternalPeerId;

Modules§

core_sync_service 🔒
network_address 🔒
request_handler

Structs§

NetworkInterfaces
This struct collect all supported and optional network zone interfaces.

Functions§

initialize_zones_p2p
Initialize all P2P network zones. Returning a NetworkInterfaces collection and a Vec<Sender<IncomingTxHandler>> for propagating the tx handler.
start_zone_p2p
Starts the P2P network zone, returning a NetworkInterface to interact with it.