Struct exonum_btc_anchoring::AnchoringNodeConfig []

pub struct AnchoringNodeConfig {
    pub rpc: Option<AnchoringRpcConfig>,
    pub private_keys: BTreeMap<String, PrivateKey>,
    pub check_lect_frequency: u64,
    pub observer: Option<AnchoringObserverConfig>,
}

Private part of anchoring service configuration stored on a local machine.

Fields

Rpc configuration. Must exist if node is validator. Otherwise node can only check lect payload without any checks with bitcoind.

Set of private keys for each anchoring address.

Frequency of lect check in blocks.

Anchoring observer config.

Methods

impl AnchoringNodeConfig
[src]

Creates blank configuration from given rpc config.

Trait Implementations

impl Clone for AnchoringNodeConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AnchoringNodeConfig
[src]

Formats the value using the given formatter.

impl PartialEq for AnchoringNodeConfig
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for AnchoringNodeConfig
[src]

Returns the "default value" for a type. Read more