[−][src]Struct casper_execution_engine::core::engine_state::genesis::ExecConfig
Implementations
impl ExecConfig
[src]
pub fn new(
mint_installer_bytes: Vec<u8>,
proof_of_stake_installer_bytes: Vec<u8>,
standard_payment_installer_bytes: Vec<u8>,
auction_installer_bytes: Vec<u8>,
accounts: Vec<GenesisAccount>,
wasm_config: WasmConfig,
validator_slots: u32,
auction_delay: u64,
locked_funds_period: EraId,
round_seigniorage_rate: Ratio<u64>
) -> ExecConfig
[src]
mint_installer_bytes: Vec<u8>,
proof_of_stake_installer_bytes: Vec<u8>,
standard_payment_installer_bytes: Vec<u8>,
auction_installer_bytes: Vec<u8>,
accounts: Vec<GenesisAccount>,
wasm_config: WasmConfig,
validator_slots: u32,
auction_delay: u64,
locked_funds_period: EraId,
round_seigniorage_rate: Ratio<u64>
) -> ExecConfig
pub fn mint_installer_bytes(&self) -> &[u8]
[src]
pub fn proof_of_stake_installer_bytes(&self) -> &[u8]
[src]
pub fn standard_payment_installer_bytes(&self) -> &[u8]
[src]
pub fn auction_installer_bytes(&self) -> &[u8]
[src]
pub fn wasm_config(&self) -> &WasmConfig
[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(&self) -> EraId
[src]
pub fn round_seigniorage_rate(&self) -> Ratio<u64>
[src]
Trait Implementations
impl Clone for ExecConfig
[src]
pub fn clone(&self) -> ExecConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ExecConfig
[src]
impl Distribution<ExecConfig> for Standard
[src]
pub fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> ExecConfig
[src]
pub fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
R: Rng,
[src]
R: Rng,
impl Eq for ExecConfig
[src]
impl PartialEq<ExecConfig> for ExecConfig
[src]
pub fn eq(&self, other: &ExecConfig) -> bool
[src]
pub 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>,