Changeset View
Changeset View
Standalone View
Standalone View
src/protocol.h
Show First 20 Lines • Show All 298 Lines • ▼ Show 20 Lines | |||||
/** | /** | ||||
* The getavaaddr message requests an addr message from the receiving node, | * The getavaaddr message requests an addr message from the receiving node, | ||||
* containing IP addresses of the most active avalanche nodes. | * containing IP addresses of the most active avalanche nodes. | ||||
*/ | */ | ||||
extern const char *GETAVAADDR; | extern const char *GETAVAADDR; | ||||
/** | /** | ||||
* The getavaproofs message requests an avaproofs message that provides | |||||
* the proof short ids of all the valid proofs known by our peer. | |||||
*/ | |||||
extern const char *GETAVAPROOFS; | |||||
/** | |||||
* The avaproofs message the proof short ids of all the valid proofs that we | |||||
* know. | |||||
*/ | |||||
extern const char *AVAPROOFS; | |||||
/** | |||||
* Indicate if the message is used to transmit the content of a block. | * Indicate if the message is used to transmit the content of a block. | ||||
* These messages can be significantly larger than usual messages and therefore | * These messages can be significantly larger than usual messages and therefore | ||||
* may need to be processed differently. | * may need to be processed differently. | ||||
*/ | */ | ||||
bool IsBlockLike(const std::string &strCommand); | bool IsBlockLike(const std::string &strCommand); | ||||
}; // namespace NetMsgType | }; // namespace NetMsgType | ||||
/** Get a vector of all valid message types (see above) */ | /** Get a vector of all valid message types (see above) */ | ||||
▲ Show 20 Lines • Show All 231 Lines • Show Last 20 Lines |