pub trait SMTDatabase {
// Required methods
fn get(&self, key: &BigInt) -> Option<Vec<BigInt>>;
fn set(&mut self, key: BigInt, value: Vec<BigInt>);
fn delete(&mut self, key: &BigInt);
fn get_root(&self) -> BigInt;
fn set_root(&mut self, root: BigInt);
fn multi_ins(&mut self, inserts: Vec<(BigInt, Vec<BigInt>)>);
fn multi_del(&mut self, deletes: Vec<BigInt>);
}Expand description
Database trait for SMT storage