Back to

Package merkle

Latest Go to latest

The latest major version is .

Published: Aug 11, 2020 | License: Apache-2.0 | Module:


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) ProtoMessage

func (*SimpleProof) ProtoMessage()

func (*SimpleProof) Reset

func (m *SimpleProof) Reset()

func (*SimpleProof) String

func (m *SimpleProof) String() string

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier