Struct miden_client::sync::StateSyncUpdate
source · pub struct StateSyncUpdate {
pub block_header: BlockHeader,
pub nullifiers: Vec<NullifierUpdate>,
pub synced_new_notes: SyncedNewNotes,
pub transactions_to_commit: Vec<TransactionUpdate>,
pub new_mmr_peaks: MmrPeaks,
pub new_authentication_nodes: Vec<(InOrderIndex, Digest)>,
pub updated_onchain_accounts: Vec<Account>,
pub block_has_relevant_notes: bool,
}Expand description
Contains all information needed to apply the update in the store after syncing with the node
Fields§
§block_header: BlockHeader§nullifiers: Vec<NullifierUpdate>§synced_new_notes: SyncedNewNotes§transactions_to_commit: Vec<TransactionUpdate>§new_mmr_peaks: MmrPeaks§new_authentication_nodes: Vec<(InOrderIndex, Digest)>§updated_onchain_accounts: Vec<Account>§block_has_relevant_notes: boolTrait Implementations§
source§impl From<&StateSyncUpdate> for SyncSummary
impl From<&StateSyncUpdate> for SyncSummary
source§fn from(sync_update: &StateSyncUpdate) -> Self
fn from(sync_update: &StateSyncUpdate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StateSyncUpdate
impl RefUnwindSafe for StateSyncUpdate
impl Send for StateSyncUpdate
impl Sync for StateSyncUpdate
impl Unpin for StateSyncUpdate
impl UnwindSafe for StateSyncUpdate
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