Struct casper_execution_engine::core::engine_state::genesis::ExecConfig [−][src]
Implementations
impl ExecConfig[src]
pub fn new(
accounts: Vec<GenesisAccount>,
wasm_config: WasmConfig,
system_config: SystemConfig,
validator_slots: u32,
auction_delay: u64,
locked_funds_period_millis: u64,
round_seigniorage_rate: Ratio<u64>,
unbonding_delay: EraId,
genesis_timestamp_millis: u64
) -> ExecConfig[src]
accounts: Vec<GenesisAccount>,
wasm_config: WasmConfig,
system_config: SystemConfig,
validator_slots: u32,
auction_delay: u64,
locked_funds_period_millis: u64,
round_seigniorage_rate: Ratio<u64>,
unbonding_delay: EraId,
genesis_timestamp_millis: u64
) -> ExecConfig
pub fn wasm_config(&self) -> &WasmConfig[src]
pub fn system_config(&self) -> &SystemConfig[src]
pub fn get_bonded_validators(&self) -> impl Iterator<Item = &GenesisAccount>[src]
pub fn accounts(&self) -> &[GenesisAccount][src]
pub fn push_account(&mut self, account: GenesisAccount)[src]
pub fn validator_slots(&self) -> u32[src]
pub fn auction_delay(&self) -> u64[src]
pub fn locked_funds_period_millis(&self) -> u64[src]
pub fn round_seigniorage_rate(&self) -> Ratio<u64>[src]
pub fn unbonding_delay(&self) -> EraId[src]
pub fn genesis_timestamp_millis(&self) -> u64[src]
Trait Implementations
impl Clone for ExecConfig[src]
fn clone(&self) -> ExecConfig[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ExecConfig[src]
impl Eq for ExecConfig[src]
impl PartialEq<ExecConfig> for ExecConfig[src]
fn eq(&self, other: &ExecConfig) -> bool[src]
fn ne(&self, other: &ExecConfig) -> bool[src]
impl StructuralEq for ExecConfig[src]
impl StructuralPartialEq for ExecConfig[src]
Auto Trait Implementations
impl RefUnwindSafe for ExecConfig[src]
impl Send for ExecConfig[src]
impl Sync for ExecConfig[src]
impl Unpin for ExecConfig[src]
impl UnwindSafe for ExecConfig[src]
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> DynClone for T where
T: Clone, [src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
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>,