Struct ethjson::spec::authority_round::AuthorityRoundParams[][src]

pub struct AuthorityRoundParams {
    pub step_duration: Uint,
    pub validators: ValidatorSet,
    pub start_step: Option<Uint>,
    pub validate_score_transition: Option<Uint>,
    pub validate_step_transition: Option<Uint>,
    pub immediate_transitions: Option<bool>,
    pub block_reward: Option<Uint>,
    pub block_reward_contract_transition: Option<Uint>,
    pub block_reward_contract_address: Option<Address>,
    pub maximum_uncle_count_transition: Option<Uint>,
    pub maximum_uncle_count: Option<Uint>,
    pub empty_steps_transition: Option<Uint>,
    pub maximum_empty_steps: Option<Uint>,
}

Authority params deserialization.

Fields

Block duration, in seconds.

Valid authorities

Starting step. Determined automatically if not specified. To be used for testing only.

Block at which score validation should start.

Block from which monotonic steps start.

Whether transitions should be immediate.

Reward per block in wei.

Block at which the block reward contract should start being used.

Block reward contract address (setting the block reward contract overrides the static block reward definition).

Block at which maximum uncle count should be considered.

Maximum number of accepted uncles.

Block at which empty step messages should start.

Maximum number of accepted empty steps.

Trait Implementations

impl Debug for AuthorityRoundParams
[src]

Formats the value using the given formatter. Read more

impl PartialEq for AuthorityRoundParams
[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 AuthorityRoundParams

impl Sync for AuthorityRoundParams