package
2.1.4
Repository: https://github.com/thirdweb-dev/go-sdk.git
Documentation: pkg.go.dev

# Functions

New generates a new Merkle Tree with specified configuration.
Verify verifies the data block with the Merkle Tree proof and Merkle root hash.

# Constants

ModeProofGen is the proof generation configuration mode.
ModeProofGenAndTreeBuild is the proof generation and tree building configuration mode.
ModeTreeBuild is the tree building configuration mode.

# Structs

Config is the configuration of Merkle Tree.
MerkleTree implements the Merkle Tree structure.
Proof implements the Merkle Tree proof.

# Interfaces

DataBlock is the interface of input data blocks to generate the Merkle Tree.

# Type aliases

HashFuncType is the signature of the hash functions used for Merkle Tree generation.
ModeType is the type in the Merkle Tree configuration indicating what operations are performed.