Versions in this module Expand all Collapse all v0 v0.1.0 Sep 2, 2021 Changes in this version + var ErrIntOverflowProofs = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthProofs = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupProofs = fmt.Errorf("proto: unexpected end of group") + var HashOp_name = map[int32]string + var HashOp_value = map[string]int32 + var LengthOp_name = map[int32]string + var LengthOp_value = map[string]int32 + type BatchEntry struct + Proof isBatchEntry_Proof + func (*BatchEntry) Descriptor() ([]byte, []int) + func (*BatchEntry) ProtoMessage() + func (*BatchEntry) XXX_OneofWrappers() []interface{} + func (m *BatchEntry) GetExist() *ExistenceProof + func (m *BatchEntry) GetNonexist() *NonExistenceProof + func (m *BatchEntry) GetProof() isBatchEntry_Proof + func (m *BatchEntry) Marshal() (dAtA []byte, err error) + func (m *BatchEntry) MarshalTo(dAtA []byte) (int, error) + func (m *BatchEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BatchEntry) Reset() + func (m *BatchEntry) Size() (n int) + func (m *BatchEntry) String() string + func (m *BatchEntry) Unmarshal(dAtA []byte) error + func (m *BatchEntry) XXX_DiscardUnknown() + func (m *BatchEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BatchEntry) XXX_Merge(src proto.Message) + func (m *BatchEntry) XXX_Size() int + func (m *BatchEntry) XXX_Unmarshal(b []byte) error + type BatchEntry_Exist struct + Exist *ExistenceProof + func (m *BatchEntry_Exist) MarshalTo(dAtA []byte) (int, error) + func (m *BatchEntry_Exist) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BatchEntry_Exist) Size() (n int) + type BatchEntry_Nonexist struct + Nonexist *NonExistenceProof + func (m *BatchEntry_Nonexist) MarshalTo(dAtA []byte) (int, error) + func (m *BatchEntry_Nonexist) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BatchEntry_Nonexist) Size() (n int) + type BatchProof struct + Entries []*BatchEntry + func (*BatchProof) Descriptor() ([]byte, []int) + func (*BatchProof) ProtoMessage() + func (m *BatchProof) GetEntries() []*BatchEntry + func (m *BatchProof) Marshal() (dAtA []byte, err error) + func (m *BatchProof) MarshalTo(dAtA []byte) (int, error) + func (m *BatchProof) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *BatchProof) Reset() + func (m *BatchProof) Size() (n int) + func (m *BatchProof) String() string + func (m *BatchProof) Unmarshal(dAtA []byte) error + func (m *BatchProof) XXX_DiscardUnknown() + func (m *BatchProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *BatchProof) XXX_Merge(src proto.Message) + func (m *BatchProof) XXX_Size() int + func (m *BatchProof) XXX_Unmarshal(b []byte) error + type CommitmentProof struct + Proof isCommitmentProof_Proof + func (*CommitmentProof) Descriptor() ([]byte, []int) + func (*CommitmentProof) ProtoMessage() + func (*CommitmentProof) XXX_OneofWrappers() []interface{} + func (m *CommitmentProof) GetBatch() *BatchProof + func (m *CommitmentProof) GetCompressed() *CompressedBatchProof + func (m *CommitmentProof) GetExist() *ExistenceProof + func (m *CommitmentProof) GetNonexist() *NonExistenceProof + func (m *CommitmentProof) GetProof() isCommitmentProof_Proof + func (m *CommitmentProof) Marshal() (dAtA []byte, err error) + func (m *CommitmentProof) MarshalTo(dAtA []byte) (int, error) + func (m *CommitmentProof) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommitmentProof) Reset() + func (m *CommitmentProof) Size() (n int) + func (m *CommitmentProof) String() string + func (m *CommitmentProof) Unmarshal(dAtA []byte) error + func (m *CommitmentProof) XXX_DiscardUnknown() + func (m *CommitmentProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CommitmentProof) XXX_Merge(src proto.Message) + func (m *CommitmentProof) XXX_Size() int + func (m *CommitmentProof) XXX_Unmarshal(b []byte) error + type CommitmentProof_Batch struct + Batch *BatchProof + func (m *CommitmentProof_Batch) MarshalTo(dAtA []byte) (int, error) + func (m *CommitmentProof_Batch) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommitmentProof_Batch) Size() (n int) + type CommitmentProof_Compressed struct + Compressed *CompressedBatchProof + func (m *CommitmentProof_Compressed) MarshalTo(dAtA []byte) (int, error) + func (m *CommitmentProof_Compressed) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommitmentProof_Compressed) Size() (n int) + type CommitmentProof_Exist struct + Exist *ExistenceProof + func (m *CommitmentProof_Exist) MarshalTo(dAtA []byte) (int, error) + func (m *CommitmentProof_Exist) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommitmentProof_Exist) Size() (n int) + type CommitmentProof_Nonexist struct + Nonexist *NonExistenceProof + func (m *CommitmentProof_Nonexist) MarshalTo(dAtA []byte) (int, error) + func (m *CommitmentProof_Nonexist) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CommitmentProof_Nonexist) Size() (n int) + type CompressedBatchEntry struct + Proof isCompressedBatchEntry_Proof + func (*CompressedBatchEntry) Descriptor() ([]byte, []int) + func (*CompressedBatchEntry) ProtoMessage() + func (*CompressedBatchEntry) XXX_OneofWrappers() []interface{} + func (m *CompressedBatchEntry) GetExist() *CompressedExistenceProof + func (m *CompressedBatchEntry) GetNonexist() *CompressedNonExistenceProof + func (m *CompressedBatchEntry) GetProof() isCompressedBatchEntry_Proof + func (m *CompressedBatchEntry) Marshal() (dAtA []byte, err error) + func (m *CompressedBatchEntry) MarshalTo(dAtA []byte) (int, error) + func (m *CompressedBatchEntry) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CompressedBatchEntry) Reset() + func (m *CompressedBatchEntry) Size() (n int) + func (m *CompressedBatchEntry) String() string + func (m *CompressedBatchEntry) Unmarshal(dAtA []byte) error + func (m *CompressedBatchEntry) XXX_DiscardUnknown() + func (m *CompressedBatchEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CompressedBatchEntry) XXX_Merge(src proto.Message) + func (m *CompressedBatchEntry) XXX_Size() int + func (m *CompressedBatchEntry) XXX_Unmarshal(b []byte) error + type CompressedBatchEntry_Exist struct + Exist *CompressedExistenceProof + func (m *CompressedBatchEntry_Exist) MarshalTo(dAtA []byte) (int, error) + func (m *CompressedBatchEntry_Exist) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CompressedBatchEntry_Exist) Size() (n int) + type CompressedBatchEntry_Nonexist struct + Nonexist *CompressedNonExistenceProof + func (m *CompressedBatchEntry_Nonexist) MarshalTo(dAtA []byte) (int, error) + func (m *CompressedBatchEntry_Nonexist) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CompressedBatchEntry_Nonexist) Size() (n int) + type CompressedBatchProof struct + Entries []*CompressedBatchEntry + LookupInners []*InnerOp + func (*CompressedBatchProof) Descriptor() ([]byte, []int) + func (*CompressedBatchProof) ProtoMessage() + func (m *CompressedBatchProof) GetEntries() []*CompressedBatchEntry + func (m *CompressedBatchProof) GetLookupInners() []*InnerOp + func (m *CompressedBatchProof) Marshal() (dAtA []byte, err error) + func (m *CompressedBatchProof) MarshalTo(dAtA []byte) (int, error) + func (m *CompressedBatchProof) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CompressedBatchProof) Reset() + func (m *CompressedBatchProof) Size() (n int) + func (m *CompressedBatchProof) String() string + func (m *CompressedBatchProof) Unmarshal(dAtA []byte) error + func (m *CompressedBatchProof) XXX_DiscardUnknown() + func (m *CompressedBatchProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CompressedBatchProof) XXX_Merge(src proto.Message) + func (m *CompressedBatchProof) XXX_Size() int + func (m *CompressedBatchProof) XXX_Unmarshal(b []byte) error + type CompressedExistenceProof struct + Key []byte + Leaf *LeafOp + Path []int32 + Value []byte + func (*CompressedExistenceProof) Descriptor() ([]byte, []int) + func (*CompressedExistenceProof) ProtoMessage() + func (m *CompressedExistenceProof) GetKey() []byte + func (m *CompressedExistenceProof) GetLeaf() *LeafOp + func (m *CompressedExistenceProof) GetPath() []int32 + func (m *CompressedExistenceProof) GetValue() []byte + func (m *CompressedExistenceProof) Marshal() (dAtA []byte, err error) + func (m *CompressedExistenceProof) MarshalTo(dAtA []byte) (int, error) + func (m *CompressedExistenceProof) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CompressedExistenceProof) Reset() + func (m *CompressedExistenceProof) Size() (n int) + func (m *CompressedExistenceProof) String() string + func (m *CompressedExistenceProof) Unmarshal(dAtA []byte) error + func (m *CompressedExistenceProof) XXX_DiscardUnknown() + func (m *CompressedExistenceProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CompressedExistenceProof) XXX_Merge(src proto.Message) + func (m *CompressedExistenceProof) XXX_Size() int + func (m *CompressedExistenceProof) XXX_Unmarshal(b []byte) error + type CompressedNonExistenceProof struct + Key []byte + Left *CompressedExistenceProof + Right *CompressedExistenceProof + func (*CompressedNonExistenceProof) Descriptor() ([]byte, []int) + func (*CompressedNonExistenceProof) ProtoMessage() + func (m *CompressedNonExistenceProof) GetKey() []byte + func (m *CompressedNonExistenceProof) GetLeft() *CompressedExistenceProof + func (m *CompressedNonExistenceProof) GetRight() *CompressedExistenceProof + func (m *CompressedNonExistenceProof) Marshal() (dAtA []byte, err error) + func (m *CompressedNonExistenceProof) MarshalTo(dAtA []byte) (int, error) + func (m *CompressedNonExistenceProof) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *CompressedNonExistenceProof) Reset() + func (m *CompressedNonExistenceProof) Size() (n int) + func (m *CompressedNonExistenceProof) String() string + func (m *CompressedNonExistenceProof) Unmarshal(dAtA []byte) error + func (m *CompressedNonExistenceProof) XXX_DiscardUnknown() + func (m *CompressedNonExistenceProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CompressedNonExistenceProof) XXX_Merge(src proto.Message) + func (m *CompressedNonExistenceProof) XXX_Size() int + func (m *CompressedNonExistenceProof) XXX_Unmarshal(b []byte) error + type ExistenceProof struct + Key []byte + Leaf *LeafOp + Path []*InnerOp + Value []byte + func (*ExistenceProof) Descriptor() ([]byte, []int) + func (*ExistenceProof) ProtoMessage() + func (m *ExistenceProof) GetKey() []byte + func (m *ExistenceProof) GetLeaf() *LeafOp + func (m *ExistenceProof) GetPath() []*InnerOp + func (m *ExistenceProof) GetValue() []byte + func (m *ExistenceProof) Marshal() (dAtA []byte, err error) + func (m *ExistenceProof) MarshalTo(dAtA []byte) (int, error) + func (m *ExistenceProof) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ExistenceProof) Reset() + func (m *ExistenceProof) Size() (n int) + func (m *ExistenceProof) String() string + func (m *ExistenceProof) Unmarshal(dAtA []byte) error + func (m *ExistenceProof) XXX_DiscardUnknown() + func (m *ExistenceProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ExistenceProof) XXX_Merge(src proto.Message) + func (m *ExistenceProof) XXX_Size() int + func (m *ExistenceProof) XXX_Unmarshal(b []byte) error + type HashOp int32 + const HashOp_BITCOIN + const HashOp_KECCAK + const HashOp_NO_HASH + const HashOp_RIPEMD160 + const HashOp_SHA256 + const HashOp_SHA512 + func (HashOp) EnumDescriptor() ([]byte, []int) + func (x HashOp) String() string + type InnerOp struct + Hash HashOp + Prefix []byte + Suffix []byte + func (*InnerOp) Descriptor() ([]byte, []int) + func (*InnerOp) ProtoMessage() + func (m *InnerOp) GetHash() HashOp + func (m *InnerOp) GetPrefix() []byte + func (m *InnerOp) GetSuffix() []byte + func (m *InnerOp) Marshal() (dAtA []byte, err error) + func (m *InnerOp) MarshalTo(dAtA []byte) (int, error) + func (m *InnerOp) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *InnerOp) Reset() + func (m *InnerOp) Size() (n int) + func (m *InnerOp) String() string + func (m *InnerOp) Unmarshal(dAtA []byte) error + func (m *InnerOp) XXX_DiscardUnknown() + func (m *InnerOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *InnerOp) XXX_Merge(src proto.Message) + func (m *InnerOp) XXX_Size() int + func (m *InnerOp) XXX_Unmarshal(b []byte) error + type InnerSpec struct + ChildOrder []int32 + ChildSize int32 + EmptyChild []byte + Hash HashOp + MaxPrefixLength int32 + MinPrefixLength int32 + func (*InnerSpec) Descriptor() ([]byte, []int) + func (*InnerSpec) ProtoMessage() + func (m *InnerSpec) GetChildOrder() []int32 + func (m *InnerSpec) GetChildSize() int32 + func (m *InnerSpec) GetEmptyChild() []byte + func (m *InnerSpec) GetHash() HashOp + func (m *InnerSpec) GetMaxPrefixLength() int32 + func (m *InnerSpec) GetMinPrefixLength() int32 + func (m *InnerSpec) Marshal() (dAtA []byte, err error) + func (m *InnerSpec) MarshalTo(dAtA []byte) (int, error) + func (m *InnerSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *InnerSpec) Reset() + func (m *InnerSpec) Size() (n int) + func (m *InnerSpec) String() string + func (m *InnerSpec) Unmarshal(dAtA []byte) error + func (m *InnerSpec) XXX_DiscardUnknown() + func (m *InnerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *InnerSpec) XXX_Merge(src proto.Message) + func (m *InnerSpec) XXX_Size() int + func (m *InnerSpec) XXX_Unmarshal(b []byte) error + type LeafOp struct + Hash HashOp + Length LengthOp + Prefix []byte + PrehashKey HashOp + PrehashValue HashOp + func (*LeafOp) Descriptor() ([]byte, []int) + func (*LeafOp) ProtoMessage() + func (m *LeafOp) GetHash() HashOp + func (m *LeafOp) GetLength() LengthOp + func (m *LeafOp) GetPrefix() []byte + func (m *LeafOp) GetPrehashKey() HashOp + func (m *LeafOp) GetPrehashValue() HashOp + func (m *LeafOp) Marshal() (dAtA []byte, err error) + func (m *LeafOp) MarshalTo(dAtA []byte) (int, error) + func (m *LeafOp) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *LeafOp) Reset() + func (m *LeafOp) Size() (n int) + func (m *LeafOp) String() string + func (m *LeafOp) Unmarshal(dAtA []byte) error + func (m *LeafOp) XXX_DiscardUnknown() + func (m *LeafOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LeafOp) XXX_Merge(src proto.Message) + func (m *LeafOp) XXX_Size() int + func (m *LeafOp) XXX_Unmarshal(b []byte) error + type LengthOp int32 + const LengthOp_FIXED32_BIG + const LengthOp_FIXED32_LITTLE + const LengthOp_FIXED64_BIG + const LengthOp_FIXED64_LITTLE + const LengthOp_NO_PREFIX + const LengthOp_REQUIRE_32_BYTES + const LengthOp_REQUIRE_64_BYTES + const LengthOp_VAR_PROTO + const LengthOp_VAR_RLP + func (LengthOp) EnumDescriptor() ([]byte, []int) + func (x LengthOp) String() string + type NonExistenceProof struct + Key []byte + Left *ExistenceProof + Right *ExistenceProof + func (*NonExistenceProof) Descriptor() ([]byte, []int) + func (*NonExistenceProof) ProtoMessage() + func (m *NonExistenceProof) GetKey() []byte + func (m *NonExistenceProof) GetLeft() *ExistenceProof + func (m *NonExistenceProof) GetRight() *ExistenceProof + func (m *NonExistenceProof) Marshal() (dAtA []byte, err error) + func (m *NonExistenceProof) MarshalTo(dAtA []byte) (int, error) + func (m *NonExistenceProof) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *NonExistenceProof) Reset() + func (m *NonExistenceProof) Size() (n int) + func (m *NonExistenceProof) String() string + func (m *NonExistenceProof) Unmarshal(dAtA []byte) error + func (m *NonExistenceProof) XXX_DiscardUnknown() + func (m *NonExistenceProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NonExistenceProof) XXX_Merge(src proto.Message) + func (m *NonExistenceProof) XXX_Size() int + func (m *NonExistenceProof) XXX_Unmarshal(b []byte) error + type ProofSpec struct + InnerSpec *InnerSpec + LeafSpec *LeafOp + MaxDepth int32 + MinDepth int32 + func (*ProofSpec) Descriptor() ([]byte, []int) + func (*ProofSpec) ProtoMessage() + func (m *ProofSpec) GetInnerSpec() *InnerSpec + func (m *ProofSpec) GetLeafSpec() *LeafOp + func (m *ProofSpec) GetMaxDepth() int32 + func (m *ProofSpec) GetMinDepth() int32 + func (m *ProofSpec) Marshal() (dAtA []byte, err error) + func (m *ProofSpec) MarshalTo(dAtA []byte) (int, error) + func (m *ProofSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *ProofSpec) Reset() + func (m *ProofSpec) Size() (n int) + func (m *ProofSpec) String() string + func (m *ProofSpec) Unmarshal(dAtA []byte) error + func (m *ProofSpec) XXX_DiscardUnknown() + func (m *ProofSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ProofSpec) XXX_Merge(src proto.Message) + func (m *ProofSpec) XXX_Size() int + func (m *ProofSpec) XXX_Unmarshal(b []byte) error