package
0.0.0-20241216100124-f6588a01621f
Repository: https://github.com/2lovecode/graffito.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTree creates a new Merkle Tree using the content cs.
NewTreeWithHashStrategy creates a new Merkle Tree using the content cs using the provided hash strategy.
NewTreeWithHashStrategySorted just like NewTreeWithHashStrategy but sorts the siblings before hashing, mostly to follow the OpenZepplin Merkle implementation https://github.com/OpenZeppelin/openzeppelin-contracts-ethereum-package/blob/master/contracts/cryptography/MerkleProof.sol.
NewWithFreeList creates a new B-Tree that uses the given node free list.

# Constants

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
/.
No description provided by the author
数组实现最大堆.
MerkleTree is the container for the tree.
Node represents a node, root, or leaf in the tree.

# Interfaces

Content represents the data that is stored and verified by the tree.
No description provided by the author

# Type aliases

Int implements the Item interface for integers.
No description provided by the author