Enum ethjson::spec::validator_set::ValidatorSet[][src]

pub enum ValidatorSet {
    List(Vec<Address>),
    SafeContract(Address),
    Contract(Address),
    Multi(BTreeMap<Uint, ValidatorSet>),
}

Different ways of specifying validators.

Variants

A simple list of authorities.

Address of a contract that indicates the list of authorities.

Address of a contract that indicates the list of authorities and enables reporting of theor misbehaviour using transactions.

A map of starting blocks for each validator set.

Trait Implementations

impl Debug for ValidatorSet
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ValidatorSet
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for ValidatorSet

impl Sync for ValidatorSet