Expand description
Cuprate’s P2P Crate.
This crate contains a NetworkInterface
which allows interacting with the Monero P2P network on
a certain NetworkZone
Re-exports§
pub use config::P2PConfig;
Modules§
- Block Downloader
- Outbound Connection Maintainer.
Structs§
- The address book config.
- A
Drop
guard for a client returned from the peer-set. - The interface to Monero’s P2P network on a certain
NetworkZone
.
Enums§
- A request to broadcast some data to all connected peers or a sub-set like all inbound or all outbound.
- A request to the peer-set.
- A response from the peer-set.
Functions§
- Initializes the P2P
NetworkInterface
for a specificNetworkZone
.