pb

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package pb holds only Protocol Buffer definitions and generated code.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthChainsync        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChainsync          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupChainsync = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type Describe

type Describe struct {
	BlockHeight []byte `protobuf:"bytes,1,opt,name=BlockHeight,proto3" json:"BlockHeight,omitempty"`
}

func (*Describe) Descriptor

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

func (*Describe) GetBlockHeight

func (m *Describe) GetBlockHeight() []byte

func (*Describe) Marshal

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

func (*Describe) MarshalTo

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

func (*Describe) MarshalToSizedBuffer

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

func (*Describe) ProtoMessage

func (*Describe) ProtoMessage()

func (*Describe) Reset

func (m *Describe) Reset()

func (*Describe) Size

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

func (*Describe) String

func (m *Describe) String() string

func (*Describe) Unmarshal

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

func (*Describe) XXX_DiscardUnknown

func (m *Describe) XXX_DiscardUnknown()

func (*Describe) XXX_Marshal

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

func (*Describe) XXX_Merge

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

func (*Describe) XXX_Size

func (m *Describe) XXX_Size() int

func (*Describe) XXX_Unmarshal

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

type Proof

type Proof struct {
	BlockHash []byte `protobuf:"bytes,1,opt,name=BlockHash,proto3" json:"BlockHash,omitempty"`
}

func (*Proof) Descriptor

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

func (*Proof) GetBlockHash

func (m *Proof) GetBlockHash() []byte

func (*Proof) Marshal

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

func (*Proof) MarshalTo

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

func (*Proof) MarshalToSizedBuffer

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

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) Reset

func (m *Proof) Reset()

func (*Proof) Size

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

func (*Proof) String

func (m *Proof) String() string

func (*Proof) Unmarshal

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

func (*Proof) XXX_DiscardUnknown

func (m *Proof) XXX_DiscardUnknown()

func (*Proof) XXX_Marshal

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

func (*Proof) XXX_Merge

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

func (*Proof) XXX_Size

func (m *Proof) XXX_Size() int

func (*Proof) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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