Versions in this module Expand all Collapse all v0 v0.4.0 Mar 25, 2024 v0.3.0 Feb 28, 2024 Changes in this version + func IndexTreeOutput(merklePath []*PathItem, key []byte, hashAlgorithm crypto.Hash) []byte + type LeafData interface + AddToHasher func(hasher hash.Hash) + Key func() []byte + type PathItem struct + Hash []byte + Key []byte + type Tree struct + func New(hashAlgorithm crypto.Hash, leaves []LeafData) (*Tree, error) + func (s *Tree) GetMerklePath(key []byte) ([]*PathItem, error) + func (s *Tree) GetRootHash() []byte + func (s *Tree) PrettyPrint() string