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 height.

RequestPeers

Request connected peers from a node.

RequestPrevotes

Request for pre-votes.

RequestPropose

Request for the Propose.

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

Block message id.

CONNECT_MESSAGE_ID

Connect message id.

CONSENSUS

Consensus message type.

HEADER_LENGTH

Length of the message header.

PRECOMMIT_MESSAGE_ID

Precommit message id.

PREVOTE_MESSAGE_ID

Prevote message id.

PROPOSE_MESSAGE_ID

Propose message id.

PROTOCOL_MAJOR_VERSION

Version of the protocol. Different versions are incompatible.

REQUEST_BLOCK_MESSAGE_ID

RequestBlock message id.

REQUEST_PEERS_MESSAGE_ID

RequestPeers message id.

REQUEST_PREVOTES_MESSAGE_ID

RequestPrevotes message id.

REQUEST_PROPOSE_MESSAGE_ID

RequestPropose message id.

REQUEST_TRANSACTIONS_MESSAGE_ID

RequestTransactions message id.

STATUS_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 MessageBuffer.

RawTransaction

Raw transaction type.