|
|
@ -261,6 +261,12 @@ extern const char* GETCFCHECKPT;
|
|
|
|
* evenly spaced filter headers for blocks on the requested chain.
|
|
|
|
* evenly spaced filter headers for blocks on the requested chain.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
extern const char* CFCHECKPT;
|
|
|
|
extern const char* CFCHECKPT;
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Indicates that a node prefers to relay transactions via wtxid, rather than
|
|
|
|
|
|
|
|
* txid.
|
|
|
|
|
|
|
|
* @since protocol version 70016 as described by BIP 339.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
extern const char *WTXIDRELAY;
|
|
|
|
}; // namespace NetMsgType
|
|
|
|
}; // namespace NetMsgType
|
|
|
|
|
|
|
|
|
|
|
|
/* Get a vector of all valid message types (see above) */
|
|
|
|
/* Get a vector of all valid message types (see above) */
|
|
|
@ -402,7 +408,7 @@ enum GetDataMsg : uint32_t {
|
|
|
|
MSG_TX = 1,
|
|
|
|
MSG_TX = 1,
|
|
|
|
MSG_BLOCK = 2,
|
|
|
|
MSG_BLOCK = 2,
|
|
|
|
MSG_WTX = 5, //!< Defined in BIP 339
|
|
|
|
MSG_WTX = 5, //!< Defined in BIP 339
|
|
|
|
// The following can only occur in getdata. Invs always use TX or BLOCK.
|
|
|
|
// The following can only occur in getdata. Invs always use TX/WTX or BLOCK.
|
|
|
|
MSG_FILTERED_BLOCK = 3, //!< Defined in BIP37
|
|
|
|
MSG_FILTERED_BLOCK = 3, //!< Defined in BIP37
|
|
|
|
MSG_CMPCT_BLOCK = 4, //!< Defined in BIP152
|
|
|
|
MSG_CMPCT_BLOCK = 4, //!< Defined in BIP152
|
|
|
|
MSG_WITNESS_BLOCK = MSG_BLOCK | MSG_WITNESS_FLAG, //!< Defined in BIP144
|
|
|
|
MSG_WITNESS_BLOCK = MSG_BLOCK | MSG_WITNESS_FLAG, //!< Defined in BIP144
|
|
|
|