Struct everscale_types::models::block::ShardDescription
source · pub struct ShardDescription<C: CellFamily> {Show 20 fields
pub seqno: u32,
pub reg_mc_seqno: u32,
pub start_lt: u64,
pub end_lt: u64,
pub root_hash: CellHash,
pub file_hash: CellHash,
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<C>,
pub funds_created: CurrencyCollection<C>,
pub copyleft_rewards: Dict<C, CellHash, Tokens>,
pub proof_chain: Option<ProofChain<C>>,
}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: CellHashRepresentation hash of the root cell of the latest block in the shard.
file_hash: CellHashHash 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: CurrencyCollection<C>Amount of fees collected in this shard since the last masterchain block.
funds_created: CurrencyCollection<C>Amount of funds created in this shard since the last masterchain block.
copyleft_rewards: Dict<C, CellHash, Tokens>Copyleft rewards if present.
proof_chain: Option<ProofChain<C>>Proofs from other workchains.