[][src]Module exonum::helpers

Different assorted utilities.

Modules

config

Loading and saving TOML-encoded configurations.

fabric

Command line commands utilities.

metrics

Utilities for collecting metrics.

user_agent

Information about current node including Exonum, Rust and OS versions.

Structs

Height

Blockchain height (number of blocks).

Round

Consensus round index.

ValidatorId

Validators identifier.

ZeroizeOnDrop

Struct used to call zeroize on inner type on drop.

Functions

generate_testnet_config

Generates testnet configuration.

init_logger

Performs the logger initialization.

path_relative_from

This routine is adapted from the old Path's path_relative_from function, which works differently from the new relative_from function. In particular, this handles the case on unix where both paths are absolute but with only the root as the common directory.

Type Definitions

Milliseconds

Number of milliseconds.