Versions in this module Expand all Collapse all v1 v1.0.1 Nov 1, 2020 v1.0.0 Jan 27, 2019 Changes in this version + func LeafHash(h hash.Hash, out, in []byte) []byte + type HTree struct + func NewHTree(hasher hash.Hash) *HTree + func NewProofHTree(hasher hash.Hash, ref []byte) *HTree + func (h *HTree) Add(item []byte) + func (h *HTree) Proof() Proof + func (h *HTree) Root() []byte + type Proof []ProofStep + func (p Proof) Hash(hasher hash.Hash, ref []byte) []byte + type ProofStep struct + H []byte + Left bool + type Tree struct + func NewProofTree(hasher hash.Hash, ref []byte) *Tree + func NewTree(hasher hash.Hash) *Tree + func (m *Tree) Add(str []byte) + func (m *Tree) Proof() Proof + func (m *Tree) Root() []byte Other modules containing this package github.com/bobg/merkle/v2