Changeset View
Changeset View
Standalone View
Standalone View
src/protocol.h
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | |||||
extern const char *VERACK; | extern const char *VERACK; | ||||
/** | /** | ||||
* The addr (IP address) message relays connection information for peers on the | * The addr (IP address) message relays connection information for peers on the | ||||
* network. | * network. | ||||
* @see https://bitcoin.org/en/developer-reference#addr | * @see https://bitcoin.org/en/developer-reference#addr | ||||
*/ | */ | ||||
extern const char *ADDR; | extern const char *ADDR; | ||||
/** | /** | ||||
* The addrv2 message relays connection information for peers on the network | |||||
* just like the addr message, but is extended to allow gossiping of longer node | |||||
* addresses (see BIP155). | |||||
*/ | |||||
extern const char *ADDRV2; | |||||
/** | |||||
* The sendaddrv2 message signals support for receiving ADDRV2 messages | |||||
* (BIP155). It also implies that its sender can encode as ADDRV2 and would send | |||||
* ADDRV2 instead of ADDR to a peer that has signaled ADDRV2 support by sending | |||||
* SENDADDRV2. | |||||
*/ | |||||
extern const char *SENDADDRV2; | |||||
/** | |||||
* The inv message (inventory message) transmits one or more inventories of | * The inv message (inventory message) transmits one or more inventories of | ||||
* objects known to the transmitting peer. | * objects known to the transmitting peer. | ||||
* @see https://bitcoin.org/en/developer-reference#inv | * @see https://bitcoin.org/en/developer-reference#inv | ||||
*/ | */ | ||||
extern const char *INV; | extern const char *INV; | ||||
/** | /** | ||||
* The getdata message requests one or more data objects from another node. | * The getdata message requests one or more data objects from another node. | ||||
* @see https://bitcoin.org/en/developer-reference#getdata | * @see https://bitcoin.org/en/developer-reference#getdata | ||||
▲ Show 20 Lines • Show All 413 Lines • Show Last 20 Lines |