Struct exonum::node::state::ValidatorState [] [src]

pub struct ValidatorState { /* fields omitted */ }

State of a validator-node.

Methods

impl ValidatorState
[src]

[src]

Creates new ValidatorState with given validator id.

[src]

Returns validator id.

[src]

Sets new validator id.

[src]

Checks if the node has pre-vote for the specified round.

[src]

Clears pre-commits and pre-votes.

Trait Implementations

impl Debug for ValidatorState
[src]

[src]

Formats the value using the given formatter.

impl Clone for ValidatorState
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more