pub struct McBlockExtra {
pub shards: ShardHashes,
pub fees: ShardFees,
pub prev_block_signatures: Dict<u16, BlockSignature>,
pub recover_create_msg: Option<Lazy<InMsg>>,
pub mint_msg: Option<Lazy<InMsg>>,
pub config: Option<BlockchainConfig>,
}Expand description
Additional content for masterchain blocks.
Fields§
§shards: ShardHashesA tree of the most recent descriptions for all currently existing shards for all workchains except the masterchain.
fees: ShardFeesCollected/created shard fees.
prev_block_signatures: Dict<u16, BlockSignature>Signatures for previous blocks.
recover_create_msg: Option<Lazy<InMsg>>An optional message with funds recover.
mint_msg: Option<Lazy<InMsg>>An optional message with minting.
config: Option<BlockchainConfig>Blockchain config (if the block is a key block).
Implementations§
Source§impl McBlockExtra
impl McBlockExtra
Trait Implementations§
Source§impl Clone for McBlockExtra
impl Clone for McBlockExtra
Source§fn clone(&self) -> McBlockExtra
fn clone(&self) -> McBlockExtra
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for McBlockExtra
impl Debug for McBlockExtra
Source§impl Default for McBlockExtra
impl Default for McBlockExtra
Source§fn default() -> McBlockExtra
fn default() -> McBlockExtra
Returns the “default value” for a type. Read more
Source§impl<'a> Load<'a> for McBlockExtra
impl<'a> Load<'a> for McBlockExtra
Source§impl Serialize for McBlockExtra
impl Serialize for McBlockExtra
Source§impl Store for McBlockExtra
impl Store for McBlockExtra
Source§fn store_into(
&self,
builder: &mut CellBuilder,
context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
Auto Trait Implementations§
impl Freeze for McBlockExtra
impl !RefUnwindSafe for McBlockExtra
impl Send for McBlockExtra
impl Sync for McBlockExtra
impl Unpin for McBlockExtra
impl !UnwindSafe for McBlockExtra
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