Versions in this module Expand all Collapse all v0 v0.0.2 May 5, 2023 v0.0.1 May 4, 2022 Changes in this version + func RootFromInclusionProof(hasher merkle.LogHasher, index, size uint64, leafHash []byte, proof [][]byte) ([]byte, error) + func VerifyConsistency(hasher merkle.LogHasher, size1, size2 uint64, proof [][]byte, ...) error + func VerifyInclusion(hasher merkle.LogHasher, index, size uint64, leafHash []byte, proof [][]byte, ...) error + type Nodes struct + IDs []compact.NodeID + func Consistency(size1, size2 uint64) (Nodes, error) + func Inclusion(index, size uint64) (Nodes, error) + func (n Nodes) Ephem() (compact.NodeID, int, int) + func (n Nodes) Rehash(h [][]byte, hc func(left, right []byte) []byte) ([][]byte, error) + type RootMismatchError struct + CalculatedRoot []byte + ExpectedRoot []byte + func (e RootMismatchError) Error() string