Changeset View
Changeset View
Standalone View
Standalone View
src/protocol.h
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Lines | |||||
extern const char *BLOCK; | extern const char *BLOCK; | ||||
/** | /** | ||||
* The getaddr message requests an addr message from the receiving node, | * The getaddr message requests an addr message from the receiving node, | ||||
* preferably one with lots of IP addresses of other receiving nodes. | * preferably one with lots of IP addresses of other receiving nodes. | ||||
* @see https://bitcoin.org/en/developer-reference#getaddr | * @see https://bitcoin.org/en/developer-reference#getaddr | ||||
*/ | */ | ||||
extern const char *GETADDR; | extern const char *GETADDR; | ||||
/** | /** | ||||
* The mempool message requests the TXIDs of transactions that the receiving | * The mempool message requests the hashes of transactions that the receiving | ||||
* node has verified as valid but which have not yet appeared in a block. | * node has verified as valid but which have not yet appeared in a block. | ||||
* @since protocol version 60002. | * @since protocol version 60002. | ||||
* @see https://bitcoin.org/en/developer-reference#mempool | * @see https://bitcoin.org/en/developer-reference#mempool | ||||
*/ | */ | ||||
extern const char *MEMPOOL; | extern const char *MEMPOOL; | ||||
/** | /** | ||||
* The ping message is sent periodically to help confirm that the receiving | * The ping message is sent periodically to help confirm that the receiving | ||||
* peer is still connected. | * peer is still connected. | ||||
▲ Show 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
* Contains a 1-byte bool and 8-byte LE version number. | * Contains a 1-byte bool and 8-byte LE version number. | ||||
* Indicates that a node is willing to provide blocks via "cmpctblock" messages. | * Indicates that a node is willing to provide blocks via "cmpctblock" messages. | ||||
* May indicate that a node prefers to receive new block announcements via a | * May indicate that a node prefers to receive new block announcements via a | ||||
* "cmpctblock" message rather than an "inv", depending on message contents. | * "cmpctblock" message rather than an "inv", depending on message contents. | ||||
* @since protocol version 70014 as described by BIP 152 | * @since protocol version 70014 as described by BIP 152 | ||||
*/ | */ | ||||
extern const char *SENDCMPCT; | extern const char *SENDCMPCT; | ||||
/** | /** | ||||
* Contains a CBlockHeaderAndShortTxIDs object - providing a header and | * Contains a CBlockHeaderAndShortTxHashes object - providing a header and | ||||
* list of "short txids". | * list of "short txhashes". | ||||
* @since protocol version 70014 as described by BIP 152 | * @since protocol version 70014 as described by BIP 152 | ||||
*/ | */ | ||||
extern const char *CMPCTBLOCK; | extern const char *CMPCTBLOCK; | ||||
/** | /** | ||||
* Contains a BlockTransactionsRequest | * Contains a BlockTransactionsRequest | ||||
* Peer should respond with "blocktxn" message. | * Peer should respond with "blocktxn" message. | ||||
* @since protocol version 70014 as described by BIP 152 | * @since protocol version 70014 as described by BIP 152 | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 145 Lines • Show Last 20 Lines |