Expand description

Bitcoin protocol state machine.

Modules

Protocol events.
Types and utilities related to transaction fees and fee rates.
Compact filter cache.
Protocol output capabilities.

Structs

Protocol configuration.
Holds functions that are used to hook into or alter protocol behavior.
A remote peer.
An instance of the Bitcoin P2P network protocol. Parametrized over the block-tree and compact filter store.
Reference counting virtual socket. When there are no more references held, this peer can be dropped.
Peer whitelist.

Enums

An event emitted by the address manager.
An event emitted by the sync manager.
A command or request that can be sent to the protocol.
A generic error resulting from processing a Command.
Disconnect reason.
A peer-to-peer event.
An event originating in the CBF manager.
An error from attempting to get compact filters.
An event emitted by the inventory manager.
Link direction of the peer connection.
An event originating in the peer manager.

Constants

Minimum supported peer protocol version. This version includes support for the sendheaders feature.
Peer-to-peer protocol version.
User agent included in version messages.

Type Definitions

Output of a state transition of the Protocol state machine.
Identifies a peer.