merkle

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2023 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type SimpleProof

type SimpleProof struct {
	Total                int64    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Index                int64    `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	LeafHash             []byte   `protobuf:"bytes,3,opt,name=leaf_hash,json=leafHash,proto3" json:"leaf_hash,omitempty"`
	Aunts                [][]byte `protobuf:"bytes,4,rep,name=aunts,proto3" json:"aunts,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SimpleProof) Descriptor

func (*SimpleProof) Descriptor() ([]byte, []int)

func (*SimpleProof) GetAunts

func (m *SimpleProof) GetAunts() [][]byte

func (*SimpleProof) GetIndex

func (m *SimpleProof) GetIndex() int64

func (*SimpleProof) GetLeafHash

func (m *SimpleProof) GetLeafHash() []byte

func (*SimpleProof) GetTotal

func (m *SimpleProof) GetTotal() int64

func (*SimpleProof) Marshal

func (m *SimpleProof) Marshal() (dAtA []byte, err error)

func (*SimpleProof) MarshalTo

func (m *SimpleProof) MarshalTo(dAtA []byte) (int, error)

func (*SimpleProof) MarshalToSizedBuffer

func (m *SimpleProof) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SimpleProof) ProtoMessage

func (*SimpleProof) ProtoMessage()

func (*SimpleProof) Reset

func (m *SimpleProof) Reset()

func (*SimpleProof) Size

func (m *SimpleProof) Size() (n int)

func (*SimpleProof) String

func (m *SimpleProof) String() string

func (*SimpleProof) Unmarshal

func (m *SimpleProof) Unmarshal(dAtA []byte) error

func (*SimpleProof) XXX_DiscardUnknown

func (m *SimpleProof) XXX_DiscardUnknown()

func (*SimpleProof) XXX_Marshal

func (m *SimpleProof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SimpleProof) XXX_Merge

func (m *SimpleProof) XXX_Merge(src proto.Message)

func (*SimpleProof) XXX_Size

func (m *SimpleProof) XXX_Size() int

func (*SimpleProof) XXX_Unmarshal

func (m *SimpleProof) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL