Versions in this module Expand all Collapse all v1 v1.0.0 May 14, 2020 Changes in this version + const SubModuleName + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrInvalidPrefix = sdkerrors.Register(SubModuleName, 3, "invalid prefix") + var ErrInvalidProof = sdkerrors.Register(SubModuleName, 2, "invalid proof") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var KeyEncoding_name = map[int32]string + var KeyEncoding_value = map[string]int32 + var SubModuleCdc = codec.NewHybridCodec(amino, cdctypes.NewInterfaceRegistry()) + func RegisterCodec(cdc *codec.Codec) + type Key struct + func (*Key) Descriptor() ([]byte, []int) + func (*Key) ProtoMessage() + func (m *Key) Marshal() (dAtA []byte, err error) + func (m *Key) MarshalTo(dAtA []byte) (int, error) + func (m *Key) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Key) Reset() + func (m *Key) Size() (n int) + func (m *Key) String() string + func (m *Key) Unmarshal(dAtA []byte) error + func (m *Key) XXX_DiscardUnknown() + func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Key) XXX_Merge(src proto.Message) + func (m *Key) XXX_Size() int + func (m *Key) XXX_Unmarshal(b []byte) error + type KeyEncoding int32 + const HEX + const URL + func (KeyEncoding) EnumDescriptor() ([]byte, []int) + type KeyPath struct + Keys []*Key + func (*KeyPath) Descriptor() ([]byte, []int) + func (*KeyPath) ProtoMessage() + func (m *KeyPath) Marshal() (dAtA []byte, err error) + func (m *KeyPath) MarshalTo(dAtA []byte) (int, error) + func (m *KeyPath) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *KeyPath) Reset() + func (m *KeyPath) Size() (n int) + func (m *KeyPath) Unmarshal(dAtA []byte) error + func (m *KeyPath) XXX_DiscardUnknown() + func (m *KeyPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *KeyPath) XXX_Merge(src proto.Message) + func (m *KeyPath) XXX_Size() int + func (m *KeyPath) XXX_Unmarshal(b []byte) error + func (pth *KeyPath) String() string + func (pth KeyPath) AppendKey(key []byte, enc KeyEncoding) KeyPath + type MerklePath struct + KeyPath KeyPath + func ApplyPrefix(prefix exported.Prefix, path string) (MerklePath, error) + func NewMerklePath(keyPathStr []string) MerklePath + func (*MerklePath) Descriptor() ([]byte, []int) + func (*MerklePath) ProtoMessage() + func (MerklePath) GetCommitmentType() exported.Type + func (m *MerklePath) GetKeyPath() KeyPath + func (m *MerklePath) Marshal() (dAtA []byte, err error) + func (m *MerklePath) MarshalTo(dAtA []byte) (int, error) + func (m *MerklePath) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MerklePath) Reset() + func (m *MerklePath) Size() (n int) + func (m *MerklePath) Unmarshal(dAtA []byte) error + func (m *MerklePath) XXX_DiscardUnknown() + func (m *MerklePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MerklePath) XXX_Merge(src proto.Message) + func (m *MerklePath) XXX_Size() int + func (m *MerklePath) XXX_Unmarshal(b []byte) error + func (mp MerklePath) IsEmpty() bool + func (mp MerklePath) Pretty() string + func (mp MerklePath) String() string + type MerklePrefix struct + KeyPrefix []byte + func NewMerklePrefix(keyPrefix []byte) MerklePrefix + func (*MerklePrefix) Descriptor() ([]byte, []int) + func (*MerklePrefix) ProtoMessage() + func (MerklePrefix) GetCommitmentType() exported.Type + func (m *MerklePrefix) GetKeyPrefix() []byte + func (m *MerklePrefix) Marshal() (dAtA []byte, err error) + func (m *MerklePrefix) MarshalTo(dAtA []byte) (int, error) + func (m *MerklePrefix) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MerklePrefix) Reset() + func (m *MerklePrefix) Size() (n int) + func (m *MerklePrefix) String() string + func (m *MerklePrefix) Unmarshal(dAtA []byte) error + func (m *MerklePrefix) XXX_DiscardUnknown() + func (m *MerklePrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MerklePrefix) XXX_Merge(src proto.Message) + func (m *MerklePrefix) XXX_Size() int + func (m *MerklePrefix) XXX_Unmarshal(b []byte) error + func (mp MerklePrefix) Bytes() []byte + func (mp MerklePrefix) IsEmpty() bool + type MerkleProof struct + Proof *merkle.Proof + func (*MerkleProof) Descriptor() ([]byte, []int) + func (*MerkleProof) ProtoMessage() + func (MerkleProof) GetCommitmentType() exported.Type + func (m *MerkleProof) GetProof() *merkle.Proof + func (m *MerkleProof) Marshal() (dAtA []byte, err error) + func (m *MerkleProof) MarshalTo(dAtA []byte) (int, error) + func (m *MerkleProof) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MerkleProof) Reset() + func (m *MerkleProof) Size() (n int) + func (m *MerkleProof) String() string + func (m *MerkleProof) Unmarshal(dAtA []byte) error + func (m *MerkleProof) XXX_DiscardUnknown() + func (m *MerkleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MerkleProof) XXX_Merge(src proto.Message) + func (m *MerkleProof) XXX_Size() int + func (m *MerkleProof) XXX_Unmarshal(b []byte) error + func (proof MerkleProof) IsEmpty() bool + func (proof MerkleProof) ValidateBasic() error + func (proof MerkleProof) VerifyMembership(root exported.Root, path exported.Path, value []byte) error + func (proof MerkleProof) VerifyNonMembership(root exported.Root, path exported.Path) error + func (this *MerkleProof) Equal(that interface{}) bool + type MerkleRoot struct + Hash []byte + func NewMerkleRoot(hash []byte) MerkleRoot + func (*MerkleRoot) Descriptor() ([]byte, []int) + func (*MerkleRoot) ProtoMessage() + func (MerkleRoot) GetCommitmentType() exported.Type + func (m *MerkleRoot) Marshal() (dAtA []byte, err error) + func (m *MerkleRoot) MarshalTo(dAtA []byte) (int, error) + func (m *MerkleRoot) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MerkleRoot) Reset() + func (m *MerkleRoot) Size() (n int) + func (m *MerkleRoot) String() string + func (m *MerkleRoot) Unmarshal(dAtA []byte) error + func (m *MerkleRoot) XXX_DiscardUnknown() + func (m *MerkleRoot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MerkleRoot) XXX_Merge(src proto.Message) + func (m *MerkleRoot) XXX_Size() int + func (m *MerkleRoot) XXX_Unmarshal(b []byte) error + func (mr MerkleRoot) GetHash() []byte + func (mr MerkleRoot) IsEmpty() bool v1.0.0-playground Jul 8, 2020