iavl

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: LGPL-3.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package iavl is a generated protocol buffer package.

It is generated from these files:

iavl.proto

It has these top-level messages:

IAVLNode
IAVLProofInnerNode
IAVLProof

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAVLNode

type IAVLNode struct {
	Key       []byte    `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value     []byte    `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Height    uint32    `protobuf:"varint,3,opt,name=height" json:"height,omitempty"`
	Size      uint64    `protobuf:"varint,4,opt,name=size" json:"size,omitempty"`
	Hash      []byte    `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	LeftHash  []byte    `protobuf:"bytes,6,opt,name=leftHash,proto3" json:"leftHash,omitempty"`
	LeftNode  *IAVLNode `protobuf:"bytes,7,opt,name=leftNode" json:"leftNode,omitempty"`
	RightHash []byte    `protobuf:"bytes,8,opt,name=rightHash,proto3" json:"rightHash,omitempty"`
	RightNode *IAVLNode `protobuf:"bytes,9,opt,name=rightNode" json:"rightNode,omitempty"`
	Persisted bool      `protobuf:"varint,10,opt,name=persisted" json:"persisted,omitempty"`
}

func (*IAVLNode) Descriptor

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

func (*IAVLNode) GetHash

func (m *IAVLNode) GetHash() []byte

func (*IAVLNode) GetHeight

func (m *IAVLNode) GetHeight() uint32

func (*IAVLNode) GetKey

func (m *IAVLNode) GetKey() []byte

func (*IAVLNode) GetLeftHash

func (m *IAVLNode) GetLeftHash() []byte

func (*IAVLNode) GetLeftNode

func (m *IAVLNode) GetLeftNode() *IAVLNode

func (*IAVLNode) GetPersisted

func (m *IAVLNode) GetPersisted() bool

func (*IAVLNode) GetRightHash

func (m *IAVLNode) GetRightHash() []byte

func (*IAVLNode) GetRightNode

func (m *IAVLNode) GetRightNode() *IAVLNode

func (*IAVLNode) GetSize

func (m *IAVLNode) GetSize() uint64

func (*IAVLNode) GetValue

func (m *IAVLNode) GetValue() []byte

func (*IAVLNode) ProtoMessage

func (*IAVLNode) ProtoMessage()

func (*IAVLNode) Reset

func (m *IAVLNode) Reset()

func (*IAVLNode) String

func (m *IAVLNode) String() string

type IAVLProof

type IAVLProof struct {
	LeafHash   []byte                `protobuf:"bytes,1,opt,name=leafHash,proto3" json:"leafHash,omitempty"`
	RootHash   []byte                `protobuf:"bytes,2,opt,name=rootHash,proto3" json:"rootHash,omitempty"`
	InnerNodes []*IAVLProofInnerNode `protobuf:"bytes,3,rep,name=innerNodes" json:"innerNodes,omitempty"`
}

func (*IAVLProof) Descriptor

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

func (*IAVLProof) GetInnerNodes

func (m *IAVLProof) GetInnerNodes() []*IAVLProofInnerNode

func (*IAVLProof) GetLeafHash

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

func (*IAVLProof) GetRootHash

func (m *IAVLProof) GetRootHash() []byte

func (*IAVLProof) ProtoMessage

func (*IAVLProof) ProtoMessage()

func (*IAVLProof) Reset

func (m *IAVLProof) Reset()

func (*IAVLProof) String

func (m *IAVLProof) String() string

type IAVLProofInnerNode

type IAVLProofInnerNode struct {
	Height uint32 `protobuf:"varint,1,opt,name=height" json:"height,omitempty"`
	Size   uint64 `protobuf:"varint,2,opt,name=size" json:"size,omitempty"`
	Left   []byte `protobuf:"bytes,3,opt,name=left,proto3" json:"left,omitempty"`
	Right  []byte `protobuf:"bytes,4,opt,name=right,proto3" json:"right,omitempty"`
}

func (*IAVLProofInnerNode) Descriptor

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

func (*IAVLProofInnerNode) GetHeight

func (m *IAVLProofInnerNode) GetHeight() uint32

func (*IAVLProofInnerNode) GetLeft

func (m *IAVLProofInnerNode) GetLeft() []byte

func (*IAVLProofInnerNode) GetRight

func (m *IAVLProofInnerNode) GetRight() []byte

func (*IAVLProofInnerNode) GetSize

func (m *IAVLProofInnerNode) GetSize() uint64

func (*IAVLProofInnerNode) ProtoMessage

func (*IAVLProofInnerNode) ProtoMessage()

func (*IAVLProofInnerNode) Reset

func (m *IAVLProofInnerNode) Reset()

func (*IAVLProofInnerNode) String

func (m *IAVLProofInnerNode) String() string

Jump to

Keyboard shortcuts

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