jmt::storage

Trait 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§