pub struct ConsensusParam {
pub snapshot_epoch_count: u32,
pub era_epoch_count: u64,
}Expand description
Consensus parameter is only configurable in test mode.
Fields§
§snapshot_epoch_count: u32§era_epoch_count: u64Trait Implementations§
Source§impl Clone for ConsensusParam
impl Clone for ConsensusParam
Auto Trait Implementations§
impl Forget for ConsensusParam
impl Freeze for ConsensusParam
impl Move for ConsensusParam
impl RefUnwindSafe for ConsensusParam
impl Send for ConsensusParam
impl Sync for ConsensusParam
impl Unpin for ConsensusParam
impl UnsafeUnpin for ConsensusParam
impl UnwindSafe for ConsensusParam
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