pub struct UtxoDeltaInner<M, S> {
pub additions: M,
pub deletions: S,
}Expand description
Overlay delta for disk sync. Returned by connect_block_ibd when BLVM_USE_OVERLAY_DELTA=1.
Node converts to SyncBatch and calls apply_sync_batch instead of sync_block_to_batch.
Arc
Single struct definition; production uses faster hashers (FxHashMap/FxHashSet).
Fields§
§additions: M§deletions: STrait Implementations§
Auto Trait Implementations§
impl<M, S> Freeze for UtxoDeltaInner<M, S>
impl<M, S> RefUnwindSafe for UtxoDeltaInner<M, S>where
M: RefUnwindSafe,
S: RefUnwindSafe,
impl<M, S> Send for UtxoDeltaInner<M, S>
impl<M, S> Sync for UtxoDeltaInner<M, S>
impl<M, S> Unpin for UtxoDeltaInner<M, S>
impl<M, S> UnsafeUnpin for UtxoDeltaInner<M, S>where
M: UnsafeUnpin,
S: UnsafeUnpin,
impl<M, S> UnwindSafe for UtxoDeltaInner<M, S>where
M: UnwindSafe,
S: UnwindSafe,
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> 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