Struct tari_mmr::MmrCacheConfig [−][src]
pub struct MmrCacheConfig {
pub rewind_hist_len: usize,
}
Expand description
Configuration for the MmrCache.
Fields
rewind_hist_len: usize
The rewind_hist_len specifies the point in history upto where the MMR can be efficiently rewound before the base mmr needs to be reconstructed.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MmrCacheConfig
impl Send for MmrCacheConfig
impl Sync for MmrCacheConfig
impl Unpin for MmrCacheConfig
impl UnwindSafe for MmrCacheConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
impl<T> Clear for T where
T: InitializableFromZeroed + ?Sized,
pub fn clear(&mut self)
pub fn clear(&mut self)
Completely overwrites this value.
impl<T> InitializableFromZeroed for T where
T: Default,
impl<T> InitializableFromZeroed for T where
T: Default,
pub unsafe fn initialize(place: *mut T)
pub unsafe fn initialize(place: *mut T)
Called to initialize a place to a valid value, after it is set to all-bits-zero. Read more
type Output = T
type Output = T
Should always be Self