Module exonum::node [] [src]

Exonum node that performs consensus algorithm.

For details about consensus message handling see messages module documentation.

Reexports

pub use self::state::RequestData;
pub use self::state::State;
pub use self::state::TxPool;
pub use self::state::ValidatorState;

Modules

state

State of the NodeHandler.

timeout_adjuster

TimeoutAdjuster is used to dynamically change propose timeout.

Structs

ApiSender

Transactions sender.

Configuration

Configuration for the NodeHandler.

DefaultSystemState

Default system state provider implementation which just uses SystemTime::now to get current time.

EventsPoolCapacity

Events pool capacities.

ListenerConfig

Listener config.

MemoryPoolConfig

Memory pool configuration parameters.

Node

Node that contains handler (NodeHandler) and NodeApiConfig.

NodeApiConfig

An api configuration options.

NodeChannel

Channel between the NodeHandler and events source.

NodeConfig

Configuration for the Node.

NodeHandler

Handler that that performs consensus algorithm.

NodeSender

Channel for messages and timeouts requests.

ServiceConfig

Service configuration.

Whitelist

Whitelist is special set to keep peers that can connect to us.

Enums

ExternalMessage

External messages.

NodeTimeout

Node timeout types.

Traits

SystemStateProvider

A helper trait that provides the node with information about the state of the system such as current time or listen address.

TransactionSend

TransactionSend represents interface for sending transactions. For details see ApiSender implementation.