Crate bitcoin_netmsg
source ·Modules
- | Bitcoin protocol message types. When | adding new message types, don’t forget | to update allNetMessageTypes in protocol.cpp. |
Structs
- | inv message data |
- | Message header. | | (4) message start. | | (12) command. | | (4) size. | | (4) checksum. |
- | Transport protocol agnostic message | container. | | Ideally it should only contain receive | time, payload, command and size. |
Constants
- | getdata message type flags |
Functions
- | Get a vector of all valid message types | (see above) |
Type Definitions
- | command, total bytes |