pub struct ChainInfo {
pub chain_name: String,
pub last_finalized_header: BlockHeader,
pub last_finalization_proof: FinalizationProof,
pub reserved_state: ReservedState,
pub validators: Vec<PrivateKey>,
}Fields§
§chain_name: String§last_finalized_header: BlockHeader§last_finalization_proof: FinalizationProof§reserved_state: ReservedState§validators: Vec<PrivateKey>The private keys of the validators of the next block.
Both governance and consensus sets must be the same.
Implementations§
Auto Trait Implementations§
impl Freeze for ChainInfo
impl RefUnwindSafe for ChainInfo
impl Send for ChainInfo
impl Sync for ChainInfo
impl Unpin for ChainInfo
impl UnwindSafe for ChainInfo
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