pub struct CommitResult {
pub committed_blocks: Vec<Block>,
pub commit_qc: QuorumCertificate,
pub pending_epoch: Option<Epoch>,
pub last_app_hash: BlockHash,
}Expand description
Result of a commit operation
Fields§
§committed_blocks: Vec<Block>§commit_qc: QuorumCertificateThe QC that certified the committed block (for sync protocol).
pending_epoch: Option<Epoch>If an epoch transition was triggered by end_block, the new epoch (start_view is placeholder)
last_app_hash: BlockHashApplication state root after executing the last committed block.
Auto Trait Implementations§
impl Freeze for CommitResult
impl RefUnwindSafe for CommitResult
impl Send for CommitResult
impl Sync for CommitResult
impl Unpin for CommitResult
impl UnsafeUnpin for CommitResult
impl UnwindSafe for CommitResult
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