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> Load<'a> for CatchainConfig
impl<'a> Load<'a> 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 Store for CatchainConfig
impl Store for CatchainConfig
source§fn store_into(
&self,
builder: &mut CellBuilder,
_: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, _: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Copy for CatchainConfig
impl Eq for CatchainConfig
impl StructuralEq for CatchainConfig
impl StructuralPartialEq for CatchainConfig
Auto Trait Implementations§
impl RefUnwindSafe for CatchainConfig
impl Send for CatchainConfig
impl Sync for CatchainConfig
impl Unpin for CatchainConfig
impl UnwindSafe for CatchainConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more