Versions in this module Expand all Collapse all v0 v0.1.0 Mar 10, 2019 Changes in this version + type Node struct + func (n *Node) GetIndexProofs(i int) []Proof + type Proof struct + func (p *Proof) SumWith(hashF hash.Hash, hash []byte) []byte + type Subtree struct + func (t *Subtree) GetRootProofs() []Proof + type Tree struct + func NewTree(hashF hash.Hash) *Tree + func NewTreeSized(hashF hash.Hash, full bool) *Tree + func (t *Tree) BuildNewWithData(data [][]byte) + func (t *Tree) ExportSubtreesRoots() []byte + func (t *Tree) GetIndexProofs(i int) []Proof + func (t *Tree) ImportSubtreesRoots(subTreesRoots []byte) + func (t *Tree) Push(data []byte) + func (t *Tree) Reset() + func (t *Tree) RootHash() []byte + func (t *Tree) ValidateIndex(i int, data []byte) bool + func (t *Tree) ValidateIndexByProofs(i int, data []byte, proofs []Proof) bool