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§
Sourcefn write_node_batch(&self, node_batch: &NodeBatch) -> Result<()>
fn write_node_batch(&self, node_batch: &NodeBatch) -> Result<()>
Writes a node batch into storage.