Struct vapash_engine::VapashParams[][src]

pub struct VapashParams {
    pub minimum_difficulty: U256,
    pub difficulty_bound_divisor: U256,
    pub difficulty_increment_divisor: u64,
    pub metropolis_difficulty_increment_divisor: u64,
    pub duration_limit: u64,
    pub homestead_transition: u64,
    pub difficulty_hardfork_transition: u64,
    pub difficulty_hardfork_bound_divisor: U256,
    pub bomb_defuse_transition: u64,
    pub eip100b_transition: u64,
    pub ecip1010_pause_transition: u64,
    pub ecip1010_continue_transition: u64,
    pub ecip1017_era_rounds: u64,
    pub block_reward: BTreeMap<BlockNumber, U256>,
    pub expip2_transition: u64,
    pub expip2_duration_limit: u64,
    pub block_reward_contract_transition: u64,
    pub block_reward_contract: Option<BlockRewardContract>,
    pub difficulty_bomb_delays: BTreeMap<BlockNumber, BlockNumber>,
    pub progpow_transition: u64,
}

Vapash params.

Fields

minimum_difficulty: U256

Minimum difficulty.

difficulty_bound_divisor: U256

Difficulty bound divisor.

difficulty_increment_divisor: u64

Difficulty increment divisor.

metropolis_difficulty_increment_divisor: u64

Metropolis difficulty increment divisor.

duration_limit: u64

Block duration.

homestead_transition: u64

Homestead transition block number.

difficulty_hardfork_transition: u64

Transition block for a change of difficulty params (currently just bound_divisor).

difficulty_hardfork_bound_divisor: U256

Difficulty param after the difficulty transition.

bomb_defuse_transition: u64

Block on which there is no additional difficulty from the exponential bomb.

eip100b_transition: u64

Number of first block where EIP-100 rules begin.

ecip1010_pause_transition: u64

Number of first block where ECIP-1010 begins.

ecip1010_continue_transition: u64

Number of first block where ECIP-1010 ends.

ecip1017_era_rounds: u64

Total block number for one ECIP-1017 era.

block_reward: BTreeMap<BlockNumber, U256>

Block reward in base units.

expip2_transition: u64

EXPIP-2 block height

expip2_duration_limit: u64

EXPIP-2 duration limit

block_reward_contract_transition: u64

Block reward contract transition block.

block_reward_contract: Option<BlockRewardContract>

Block reward contract.

difficulty_bomb_delays: BTreeMap<BlockNumber, BlockNumber>

Difficulty bomb delays.

progpow_transition: u64

Block to transition to progpow

Trait Implementations

impl Debug for VapashParams[src]

impl From<VapashParams> for VapashParams[src]

impl PartialEq<VapashParams> for VapashParams[src]

impl StructuralPartialEq for VapashParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,