Changeset View
Changeset View
Standalone View
Standalone View
src/protocol.h
| Show First 20 Lines • Show All 310 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * The avaproofs message the proof short ids of all the valid proofs that we | * The avaproofs message the proof short ids of all the valid proofs that we | ||||
| * know. | * know. | ||||
| */ | */ | ||||
| extern const char *AVAPROOFS; | extern const char *AVAPROOFS; | ||||
| /** | /** | ||||
| * Request for missing avalanche proofs after an avaproofs message has been | |||||
| * processed. | |||||
| */ | |||||
| extern const char *AVAPROOFSREQ; | |||||
| /** | |||||
| * 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 | |||||