Changeset View
Changeset View
Standalone View
Standalone View
src/protocol.h
Show First 20 Lines • Show All 316 Lines • ▼ Show 20 Lines | |||||
/** | /** | ||||
* Request for missing avalanche proofs after an avaproofs message has been | * Request for missing avalanche proofs after an avaproofs message has been | ||||
* processed. | * processed. | ||||
*/ | */ | ||||
extern const char *AVAPROOFSREQ; | extern const char *AVAPROOFSREQ; | ||||
/** | /** | ||||
* Notify our peer that we have avalanche enabled and can serve | |||||
* avaaddr/avaproofs. | |||||
*/ | |||||
extern const char *SENDAVA; | |||||
/** | |||||
* 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 |