[−][src]Module exonum::messages
Consensus and other messages and related utilities.
Structs
BlockRequest | Request for the block with the given |
BlockResponse | Information about a block. |
Connect | Connect to a node. |
MessageBuffer | A raw message represented by the bytes buffer. |
MessageWriter | Message writer. |
PeersRequest | Request connected peers from a node. |
Precommit | Pre-commit for a proposal. |
Prevote | Pre-vote for a new block. |
PrevotesRequest | Request for pre-votes. |
Propose | Proposal for a new block. |
ProposeRequest | Request for the |
RawMessage | Thread-safe reference-counting pointer to the |
Status | Current node status. |
TransactionsRequest | Request for transactions by hash. |
TransactionsResponse | Information about the transactions. |
Enums
Any | Any possible message. |
ConsensusMessage | Consensus message. |
RequestMessage | A request for the some data. |
Constants
BLOCK_REQUEST_MESSAGE_ID |
|
BLOCK_RESPONSE_MESSAGE_ID |
|
CONNECT_MESSAGE_ID |
|
CONSENSUS | Consensus message type. |
HEADER_LENGTH | Length of the message header. |
PEERS_REQUEST_MESSAGE_ID |
|
PRECOMMIT_MESSAGE_ID |
|
PREVOTES_REQUEST_MESSAGE_ID |
|
PREVOTE_MESSAGE_ID |
|
PROPOSE_MESSAGE_ID |
|
PROPOSE_REQUEST_MESSAGE_ID |
|
PROTOCOL_MAJOR_VERSION | Version of the protocol. Different versions are incompatible. |
STATUS_MESSAGE_ID |
|
TRANSACTIONS_REQUEST_MESSAGE_ID |
|
TRANSACTIONS_RESPONSE_MESSAGE_ID |
|
Traits
Message | Represents generic message interface. |
ServiceMessage | A |
Type Definitions
RawTransaction | Raw transaction type. |