Struct vapjson::spec::vapash::VapashParams [−][src]
Deserializable doppelganger of VapashParams.
Fields
minimum_difficulty: Uint
See main VapashParams docs.
difficulty_bound_divisor: Uint
See main VapashParams docs.
difficulty_increment_divisor: Option<Uint>
See main VapashParams docs.
metropolis_difficulty_increment_divisor: Option<Uint>
See main VapashParams docs.
duration_limit: Option<Uint>
See main VapashParams docs.
homestead_transition: Option<Uint>
See main VapashParams docs.
block_reward: Option<BlockReward>
Reward per block in wei.
block_reward_contract_transition: Option<Uint>
Block at which the block reward contract should start being used.
block_reward_contract_address: Option<Address>
Block reward contract address (setting the block reward contract overrides all other block reward parameters).
block_reward_contract_code: Option<Bytes>
Block reward code. This overrides the block reward contract address.
dao_hardfork_transition: Option<Uint>
See main VapashParams docs.
dao_hardfork_beneficiary: Option<Address>
See main VapashParams docs.
dao_hardfork_accounts: Option<Vec<Address>>
See main VapashParams docs.
difficulty_hardfork_transition: Option<Uint>
See main VapashParams docs.
difficulty_hardfork_bound_divisor: Option<Uint>
See main VapashParams docs.
bomb_defuse_transition: Option<Uint>
See main VapashParams docs.
eip100b_transition: Option<Uint>
See main VapashParams docs.
ecip1010_pause_transition: Option<Uint>
See main VapashParams docs.
ecip1010_continue_transition: Option<Uint>
See main VapashParams docs.
ecip1017_era_rounds: Option<Uint>
See main VapashParams docs.
difficulty_bomb_delays: Option<BTreeMap<Uint, Uint>>
Delays of difficulty bombs.
expip2_transition: Option<Uint>
EXPIP-2 block height
expip2_duration_limit: Option<Uint>
EXPIP-2 duration limit
progpow_transition: Option<Uint>
Block to transition to progpow
Trait Implementations
impl Clone for VapashParams
[src]
fn clone(&self) -> VapashParams
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VapashParams
[src]
impl<'de> Deserialize<'de> for VapashParams
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,