Changeset View
Changeset View
Standalone View
Standalone View
src/protocol.h
Show All 9 Lines | |||||
#ifndef BITCOIN_PROTOCOL_H | #ifndef BITCOIN_PROTOCOL_H | ||||
#define BITCOIN_PROTOCOL_H | #define BITCOIN_PROTOCOL_H | ||||
#include "netaddress.h" | #include "netaddress.h" | ||||
#include "serialize.h" | #include "serialize.h" | ||||
#include "uint256.h" | #include "uint256.h" | ||||
#include "version.h" | #include "version.h" | ||||
#include <stdint.h> | #include <cstdint> | ||||
#include <string> | #include <string> | ||||
/** Message header. | /** Message header. | ||||
* (4) message start. | * (4) message start. | ||||
* (12) command. | * (12) command. | ||||
* (4) size. | * (4) size. | ||||
* (4) checksum. | * (4) checksum. | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 347 Lines • Show Last 20 Lines |