Trait jmt::storage::TreeWriter

source ·
pub trait TreeWriter {
    // Required method
    fn write_node_batch(&self, node_batch: &NodeBatch) -> Result<()>;
}
Expand description

Defines the interface used to write a batch of updates from a JellyfishMerkleTree to the underlying storage holding nodes.

Required Methods§

source

fn write_node_batch(&self, node_batch: &NodeBatch) -> Result<()>

Writes a node batch into storage.

Implementors§