feat: introduce recorder objects

This commit is contained in:
frisitano
2023-06-16 11:42:49 +01:00
parent cede2e57da
commit 679a30e02e
9 changed files with 541 additions and 86 deletions

View File

@@ -28,6 +28,7 @@ use std::error::Error;
///
/// Since this is a full representation of the MMR, elements are never removed and the MMR will
/// grow roughly `O(2n)` in number of leaf elements.
#[derive(Debug, Clone)]
pub struct Mmr {
/// Refer to the `forest` method documentation for details of the semantics of this value.
pub(super) forest: usize,