pub struct MmrDelta {
pub forest: usize,
pub data: Vec<RpoDigest>,
}
Expand description
Container for the update data of a super::PartialMmr
Fields§
§forest: usize
The new version of the super::Mmr
data: Vec<RpoDigest>
Update data.
The data is packed as follows:
- All the elements needed to perform authentication path updates. These are the right siblings required to perform tree merges on the super::PartialMmr.
- The new peaks.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MmrDelta
impl RefUnwindSafe for MmrDelta
impl Send for MmrDelta
impl Sync for MmrDelta
impl Unpin for MmrDelta
impl UnwindSafe for MmrDelta
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