Module exonum::messages [] [src]

Consensus and other messages and related utilities.

Structs

BlockRequest

Request for the block with the given height.

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

RawMessage

Thread-safe reference-counting pointer to the MessageBuffer.

Status

Current node status.

TransactionsRequest

Request for transactions by hash.

Enums

Any

Any possible message.

ConsensusMessage

Consensus message.

RequestMessage

A request for the some data.

Constants

BLOCK_REQUEST_MESSAGE_ID

BlockRequest message id.

BLOCK_RESPONSE_MESSAGE_ID

BlockResponse message id.

CONNECT_MESSAGE_ID

Connect message id.

CONSENSUS

Consensus message type.

HEADER_LENGTH

Length of the message header.

PEERS_REQUEST_MESSAGE_ID

PeersRequest message id.

PRECOMMIT_MESSAGE_ID

Precommit message id.

PREVOTES_REQUEST_MESSAGE_ID

PrevotesRequest message id.

PREVOTE_MESSAGE_ID

Prevote message id.

PROPOSE_MESSAGE_ID

Propose message id.

PROPOSE_REQUEST_MESSAGE_ID

ProposeRequest message id.

PROTOCOL_MAJOR_VERSION

Version of the protocol. Different versions are incompatible.

STATUS_MESSAGE_ID

Status message id.

TRANSACTIONS_REQUEST_MESSAGE_ID

TransactionsRequest message id.

Traits

Message

Represents generic message interface.

ServiceMessage

A Message which belongs to a particular service.

Type Definitions

RawTransaction

Raw transaction type.