Struct everscale_types::models::config::CatchainConfig
source · pub struct CatchainConfig {
pub isolate_mc_validators: bool,
pub shuffle_mc_validators: bool,
pub mc_catchain_lifetime: u32,
pub shard_catchain_lifetime: u32,
pub shard_validators_lifetime: u32,
pub shard_validators_num: u32,
}Expand description
Catchain configuration params.
Fields§
§isolate_mc_validators: boolExclude masterchain validators from a validators list for a base workchain.
shuffle_mc_validators: boolChange the order of validators in the masterchain validators list.
mc_catchain_lifetime: u32Masterchain catchain session lifetime in seconds.
shard_catchain_lifetime: u32Catchain session lifetime for shards in seconds.
shard_validators_lifetime: u32Period in seconds for which the subset of validators is selected for each shard.
shard_validators_num: u32The number of validators per shard.
Trait Implementations§
source§impl Clone for CatchainConfig
impl Clone for CatchainConfig
source§fn clone(&self) -> CatchainConfig
fn clone(&self) -> CatchainConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CatchainConfig
impl Debug for CatchainConfig
source§impl<'a, C: CellFamily> Load<'a, C> for CatchainConfig
impl<'a, C: CellFamily> Load<'a, C> for CatchainConfig
source§impl PartialEq<CatchainConfig> for CatchainConfig
impl PartialEq<CatchainConfig> for CatchainConfig
source§fn eq(&self, other: &CatchainConfig) -> bool
fn eq(&self, other: &CatchainConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for CatchainConfig
impl<C: CellFamily> Store<C> for CatchainConfig
source§fn store_into(
&self,
builder: &mut CellBuilder<C>,
_: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, builder: &mut CellBuilder<C>, _: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.