Module message
Expand description
Bitcoin network messages.
This module defines the NetworkMessage
and RawNetworkMessage
types that
are used for (de)serializing Bitcoin objects for transmission on the network.
Structs§
- Command
String - Serializer for command string
- Command
String Error - Error returned when a command string is invalid.
- RawNetwork
Message - A Network message
Enums§
- Network
Message - A Network message payload. Proper documentation is available on at Bitcoin Wiki: Protocol Specification
Constants§
- MAX_
INV_ SIZE - The maximum number of super::message_blockdata::Inventory items in an
inv
message. - MAX_
MSG_ SIZE - Maximum size, in bytes, of an encoded message
This by neccessity should be larger tham
MAX_VEC_SIZE