Struct vapash_engine::VapashParams [−][src]
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]
fn from(p: VapashParams) -> Self
[src]
impl PartialEq<VapashParams> for VapashParams
[src]
fn eq(&self, other: &VapashParams) -> bool
[src]
fn ne(&self, other: &VapashParams) -> bool
[src]
impl StructuralPartialEq for VapashParams
[src]
Auto Trait Implementations
impl RefUnwindSafe for VapashParams
impl Send for VapashParams
impl Sync for VapashParams
impl Unpin for VapashParams
impl UnwindSafe for VapashParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
T: Debug,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,