Versions in this module Expand all Collapse all v0 v0.60.1 Sep 27, 2024 Changes in this version + var ErrEmptyKey = errors.New("key is empty") + var ErrEmptyKeyInData = errors.New("data contains empty key") + func BuildMap(size int) map[string][]byte + func CalcRoot(data map[string][]byte) []byte + func ConvertExistenceProof(p *crypto.Proof, key, value []byte) (*ics23.ExistenceProof, error) + func CreateMembershipProof(data map[string][]byte, key []byte) (*ics23.CommitmentProof, error) + func CreateNonMembershipProof(data map[string][]byte, key []byte) (*ics23.CommitmentProof, error) + func GetKey(allkeys []string, loc Where) string + func GetNonKey(allkeys []string, loc Where) string + func SortedKeys(data map[string][]byte) []string + type SimpleResult struct + Key []byte + Proof *tmcrypto.Proof + RootHash []byte + Value []byte + func GenerateRangeProof(size int, loc Where) *SimpleResult + type Where int + const Left + const Middle + const Right