Expand description
P2P
Will handle initiating the P2P and contains a protocol request handler.
Re-exports§
pub use network_address::CrossNetworkInternalPeerId;
Modules§
Structs§
- Network
Interfaces - This struct collect all supported and optional network zone interfaces.
Functions§
- initialize_
zones_ p2p - Initialize all P2P network zones. Returning a
NetworkInterfaces
collection and aVec<Sender<IncomingTxHandler>>
for propagating the tx handler. - start_
zone_ p2p - Starts the P2P network zone, returning a
NetworkInterface
to interact with it.