Struct everscale_types::models::block::BlockId
source · pub struct BlockId {
pub shard: ShardIdent,
pub seqno: u32,
pub root_hash: CellHash,
pub file_hash: CellHash,
}Expand description
Full block id.
Fields§
§shard: ShardIdentBlock shard ident.
seqno: u32Block number in shard.
root_hash: CellHashRepresentation hash of the root cell of the block.
file_hash: CellHashHash of the BOC encoded root cell of the block.
Implementations§
source§impl BlockId
impl BlockId
sourcepub const fn as_short_id(&self) -> BlockIdShort
pub const fn as_short_id(&self) -> BlockIdShort
Returns short block id.
Trait Implementations§
source§impl<'tlb, C: CellFamily> Load<'tlb, C> for BlockId
impl<'tlb, C: CellFamily> Load<'tlb, C> for BlockId
source§impl Ord for BlockId
impl Ord for BlockId
source§impl PartialEq<BlockId> for BlockId
impl PartialEq<BlockId> for BlockId
source§impl PartialOrd<BlockId> for BlockId
impl PartialOrd<BlockId> for BlockId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl<C: CellFamily> Store<C> for BlockId
impl<C: CellFamily> Store<C> for BlockId
source§fn store_into(
&self,
__builder: &mut CellBuilder<C>,
__finalizer: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, __builder: &mut CellBuilder<C>, __finalizer: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.