Crate bitcoin_p2p

Source

Modules§

constants

Structs§

Config
Configuration options for P2P.
P2P
The main struct coordinating all P2P activity.
PeerId
A peer identifier.
PeerState
The internal state for a peer.

Enums§

Error
Event
A signal received from P2P about a peer.
PeerType
Whether a peer was inbound or outbound.

Traits§

IntoMioTcpStream
Used to add new peers.
Listener
Trait used to listen to events.