Expand description
Host functions for merkle tree functions
Functionsยง
- merkle_
add ๐ - Adds data to merkle tree. The tree, database connection, and new data to add is
read from
ptrat offset specified bylen. Returns0on success; otherwise, returns an error-code corresponding to adarkfi_sdk::error::ContractError(defined in the SDK). See also the methodmerkle_addinsdk/src/merkle.rs.