Struct everscale_types::models::block::ShardDescription
source · pub struct ShardDescription {Show 20 fields
pub seqno: u32,
pub reg_mc_seqno: u32,
pub start_lt: u64,
pub end_lt: u64,
pub root_hash: HashBytes,
pub file_hash: HashBytes,
pub before_split: bool,
pub before_merge: bool,
pub want_split: bool,
pub want_merge: bool,
pub nx_cc_updated: bool,
pub next_catchain_seqno: u32,
pub next_validator_shard: u64,
pub min_ref_mc_seqno: u32,
pub gen_utime: u32,
pub split_merge_at: Option<FutureSplitMerge>,
pub fees_collected: CurrencyCollection,
pub funds_created: CurrencyCollection,
pub copyleft_rewards: Dict<HashBytes, Tokens>,
pub proof_chain: Option<ProofChain>,
}Expand description
Description of the most recent state of the shard.
Fields§
§seqno: u32Sequence number of the latest block in the shard.
reg_mc_seqno: u32The latest known masterchain block at the time of shard generation.
start_lt: u64The beginning of the logical time range since the last MC block.
end_lt: u64The end of the logical time range since the last MC block.
root_hash: HashBytesRepresentation hash of the root cell of the latest block in the shard.
file_hash: HashBytesHash of the BOC encoded root cell of the latest block in the shard.
before_split: boolWhether this shard splits in the next block.
before_merge: boolWhether this shard merges in the next block.
want_split: boolHint that this shard should split.
want_merge: boolHint that this shard should merge.
nx_cc_updated: boolWhether the value of catchain seqno has been incremented and will it also be incremented in the next block.
next_catchain_seqno: u32Catchain seqno in the next block.
next_validator_shard: u64Duplicates the shard ident for the latest block in this shard.
min_ref_mc_seqno: u32Minimal referenced seqno of the masterchain block.
gen_utime: u32Unix timestamp when the latest block in this shard was created.
split_merge_at: Option<FutureSplitMerge>Planned split/merge time window if present.
fees_collected: CurrencyCollectionAmount of fees collected in this shard since the last masterchain block.
funds_created: CurrencyCollectionAmount of funds created in this shard since the last masterchain block.
copyleft_rewards: Dict<HashBytes, Tokens>Copyleft rewards if present.
proof_chain: Option<ProofChain>Proofs from other workchains.
Trait Implementations§
source§impl Clone for ShardDescription
impl Clone for ShardDescription
source§fn clone(&self) -> ShardDescription
fn clone(&self) -> ShardDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ShardDescription
impl Debug for ShardDescription
source§impl<'a> Load<'a> for ShardDescription
impl<'a> Load<'a> for ShardDescription
source§impl PartialEq<ShardDescription> for ShardDescription
impl PartialEq<ShardDescription> for ShardDescription
source§fn eq(&self, other: &ShardDescription) -> bool
fn eq(&self, other: &ShardDescription) -> bool
self and other values to be equal, and is used
by ==.