[][src]Module exonum::helpers

Different assorted utilities.

Modules

pb_optional_hash

Module for serializing Option<Hash> to Protobuf.

pb_version

Module for serializing semver::Version to Protobuf.

Structs

Height

Blockchain height, that is, the number of committed blocks in it.

Round

Consensus round index.

ValidatorId

Validators identifier.

Traits

ValidateInput

Basic trait to validate user defined input.

Functions

byzantine_quorum

Returns sufficient number of votes for the given validators number.

init_logger

Initializes the logger.

Type Definitions

Milliseconds

Number of milliseconds.