pub struct BlockCandidate {Show 14 fields
pub ref_by_mc_seqno: u32,
pub block: BlockStuffAug,
pub is_key_block: bool,
pub consensus_config_changed: Option<bool>,
pub prev_blocks_ids: Vec<BlockId>,
pub top_shard_blocks_ids: Vec<BlockId>,
pub collated_file_hash: HashBytes,
pub chain_time: u64,
pub processed_to_anchor_id: u32,
pub value_flow: ValueFlow,
pub created_by: HashBytes,
pub queue_diff_aug: QueueDiffStuffAug,
pub consensus_info: ConsensusInfo,
pub processed_upto: ProcessedUptoInfoStuff,
}Fields§
§ref_by_mc_seqno: u32§block: BlockStuffAug§is_key_block: bool§consensus_config_changed: Option<bool>If current block is a key master block and ConsensusConfig was changed.
None - if it is a shard block or not a key master block.
prev_blocks_ids: Vec<BlockId>§top_shard_blocks_ids: Vec<BlockId>§collated_file_hash: HashBytes§chain_time: u64§processed_to_anchor_id: u32§value_flow: ValueFlow§created_by: HashBytes§queue_diff_aug: QueueDiffStuffAug§consensus_info: ConsensusInfo§processed_upto: ProcessedUptoInfoStuffTrait Implementations§
Source§impl Clone for BlockCandidate
impl Clone for BlockCandidate
Source§fn clone(&self) -> BlockCandidate
fn clone(&self) -> BlockCandidate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for BlockCandidate
impl !RefUnwindSafe for BlockCandidate
impl Send for BlockCandidate
impl Sync for BlockCandidate
impl Unpin for BlockCandidate
impl UnsafeUnpin for BlockCandidate
impl !UnwindSafe for BlockCandidate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more