pub type SmtWasmFp = SparseMerkleTree<'static, SMT_FP_DEPTH, { _ }, Base, PoseidonFp, SmtWasmDbStorage>;
Aliased Type§
struct SmtWasmFp {
store: SmtWasmDbStorage,
hasher: Poseidon<Fp, 2>,
empty_nodes: &'static [Fp; 256],
}
Fields§
§store: SmtWasmDbStorage
A map from leaf indices to leaf data stored as field elements.
hasher: Poseidon<Fp, 2>
The hasher used to build the Merkle tree.
empty_nodes: &'static [Fp; 256]
An array of empty hashes hashed with themselves N
times.