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
List(Vec<Address>)A simple list of authorities.
SafeContract(Address)Address of a contract that indicates the list of authorities.
Contract(Address)Address of a contract that indicates the list of authorities and enables reporting of theor misbehaviour using transactions.
Multi(BTreeMap<Uint, ValidatorSet>)A map of starting blocks for each validator set.
Trait Implementations
impl Debug for ValidatorSet[src]
impl Debug for ValidatorSetfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ValidatorSet[src]
impl PartialEq for ValidatorSetfn eq(&self, other: &ValidatorSet) -> bool[src]
fn eq(&self, other: &ValidatorSet) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ValidatorSet) -> bool[src]
fn ne(&self, other: &ValidatorSet) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for ValidatorSet
impl Send for ValidatorSetimpl Sync for ValidatorSet
impl Sync for ValidatorSet