Expand description
Host functions for sparse merkle tree functions
Structs§
- An SMT adapter for sled overlay storage. Compatible with the WasmDb SMT adapter
Functions§
- Adds data to sparse merkle tree. The tree, database connection, and new data to add is read from
ptr
at offset specified bylen
. Returns0
on success; otherwise, returns an error-code corresponding to aContractError
(defined in the SDK). See also the methodmerkle_add
insdk/src/merkle.rs
.