Structs§
- Options for what type of interaction a peer supports
- Configuration for the peer-to-peer server.
- General information about a connected peer that’s useful to other modules.
- Flatten out a PeerInfo and nested PeerLiveInfo (taking a read lock on it) so we can serialize/deserialize the data for the API and the TUI.
- The full txhashset data along with indexes required for a consumer to rewind to a consistent requested state.
Enums§
- Type of seeding the server will use to find other peers on the network.
Constants§
- Maximum number of block bodies a peer should ever ask for and send
- Maximum number of block headers a peer should ever send
- Maximum number of block header hashes to send as part of a locator
- Maximum number of peer addresses a peer should ever send
Traits§
- Bridge between the networking layer and the rest of the system. Handles the forwarding or querying of blocks and transactions from the network among other things.
- Additional methods required by the protocol that don’t need to be externally implemented.