Module exonum::messages
[−]
[src]
Consensus and other messages and related utilities.
Structs
Block |
Information about a block. |
Connect |
Connect to a node. |
MessageBuffer |
A raw message represented by the bytes buffer. |
MessageWriter |
Message writer. |
Precommit |
Pre-commit for a proposal. |
Prevote |
Pre-vote for a new block. |
Propose |
Proposal for a new block. |
RequestBlock |
Request for the block with the given |
RequestPeers |
Request connected peers from a node. |
RequestPrevotes |
Request for pre-votes. |
RequestPropose |
Request for the |
RequestTransactions |
Request for transactions by hash. |
Status |
Current node status. |
Enums
Any |
Any possible message. |
ConsensusMessage |
Consensus message. |
RequestMessage |
A request for the some data. |
Constants
BLOCK_MESSAGE_ID |
|
CONNECT_MESSAGE_ID |
|
CONSENSUS |
Consensus message type. |
HEADER_LENGTH |
Length of the message header. |
PRECOMMIT_MESSAGE_ID |
|
PREVOTE_MESSAGE_ID |
|
PROPOSE_MESSAGE_ID |
|
PROTOCOL_MAJOR_VERSION |
Version of the protocol. Different versions are incompatible. |
REQUEST_BLOCK_MESSAGE_ID |
|
REQUEST_PEERS_MESSAGE_ID |
|
REQUEST_PREVOTES_MESSAGE_ID |
|
REQUEST_PROPOSE_MESSAGE_ID |
|
REQUEST_TRANSACTIONS_MESSAGE_ID |
|
STATUS_MESSAGE_ID |
|
Traits
FromRaw |
Represents conversion from the raw message into the specific one. |
Message |
Represents generic message interface. |
Type Definitions
RawMessage |
thread-safe reference-counting pointer to the |
RawTransaction |
Raw transaction type. |