Struct everscale_types::models::block::BlockExtra
source · pub struct BlockExtra<C: CellFamily> {
pub in_msg_description: CellContainer<C>,
pub out_msg_description: CellContainer<C>,
pub account_blocks: Lazy<C, AugDict<C, CellHash, CurrencyCollection<C>, AccountBlock<C>>>,
pub rand_seed: CellHash,
pub created_by: CellHash,
pub custom: Option<Lazy<C, McBlockExtra<C>>>,
}Expand description
Block content.
Fields§
§in_msg_description: CellContainer<C>Incoming message description.
out_msg_description: CellContainer<C>Outgoing message description.
account_blocks: Lazy<C, AugDict<C, CellHash, CurrencyCollection<C>, AccountBlock<C>>>Block transactions info.
rand_seed: CellHashRandom generator seed.
created_by: CellHashPublic key of the collator who produced this block.
custom: Option<Lazy<C, McBlockExtra<C>>>Additional block content.
Implementations§
source§impl<C: CellFamily> BlockExtra<C>
impl<C: CellFamily> BlockExtra<C>
sourcepub fn load_custom(&self) -> Result<Option<McBlockExtra<C>>, Error>
pub fn load_custom(&self) -> Result<Option<McBlockExtra<C>>, Error>
Tries to load additional block content.
Trait Implementations§
source§impl<C: CellFamily> Clone for BlockExtra<C>
impl<C: CellFamily> Clone for BlockExtra<C>
source§impl<C: CellFamily> Debug for BlockExtra<C>
impl<C: CellFamily> Debug for BlockExtra<C>
source§impl<'tlb, C: CellFamily> Load<'tlb, C> for BlockExtra<C>
impl<'tlb, C: CellFamily> Load<'tlb, C> for BlockExtra<C>
source§impl<C: CellFamily> Store<C> for BlockExtra<C>
impl<C: CellFamily> Store<C> for BlockExtra<C>
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.