Module p2p
Expand description
Bitcoin p2p network types.
This module defines support for (de)serialization and network transport of Bitcoin data and Bitcoin p2p network messages.
Modules§
- address
- Bitcoin network addresses.
- message
- Bitcoin network messages.
- message_
blockdata - Bitcoin blockdata network messages.
- message_
bloom - Bitcoin Connection Bloom filtering network messages.
- message_
compact_ blocks - BIP152 Compact Blocks network messages
- message_
filter - Bitcoin Client Side Block Filtering network messages.
- message_
network - Bitcoin network-related network messages.
Structs§
- Address
- A message which can be sent on the Bitcoin network
- Magic
- Network magic bytes to identify the cryptocurrency network the message was intended for.
- Parse
Magic Error - An error in parsing magic bytes.
- Service
Flags - Flags to indicate which network services a node supports.
- Unknown
Magic Error - Error in creating a Network from Magic bytes.
Constants§
- PROTOCOL_
VERSION - Version of the protocol as appearing in network message headers.