p2p_pb

package
v0.4.6-dirty Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthExtendedHeaderRequest        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExtendedHeaderRequest          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupExtendedHeaderRequest = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ExtendedHeaderRequest

type ExtendedHeaderRequest struct {
	Origin uint64 `protobuf:"varint,1,opt,name=origin,proto3" json:"origin,omitempty"`
	Hash   []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*ExtendedHeaderRequest) Descriptor

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

func (*ExtendedHeaderRequest) GetAmount

func (m *ExtendedHeaderRequest) GetAmount() uint64

func (*ExtendedHeaderRequest) GetHash

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

func (*ExtendedHeaderRequest) GetOrigin

func (m *ExtendedHeaderRequest) GetOrigin() uint64

func (*ExtendedHeaderRequest) Marshal

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

func (*ExtendedHeaderRequest) MarshalTo

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

func (*ExtendedHeaderRequest) MarshalToSizedBuffer

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

func (*ExtendedHeaderRequest) ProtoMessage

func (*ExtendedHeaderRequest) ProtoMessage()

func (*ExtendedHeaderRequest) Reset

func (m *ExtendedHeaderRequest) Reset()

func (*ExtendedHeaderRequest) Size

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

func (*ExtendedHeaderRequest) String

func (m *ExtendedHeaderRequest) String() string

func (*ExtendedHeaderRequest) Unmarshal

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

func (*ExtendedHeaderRequest) XXX_DiscardUnknown

func (m *ExtendedHeaderRequest) XXX_DiscardUnknown()

func (*ExtendedHeaderRequest) XXX_Marshal

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

func (*ExtendedHeaderRequest) XXX_Merge

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

func (*ExtendedHeaderRequest) XXX_Size

func (m *ExtendedHeaderRequest) XXX_Size() int

func (*ExtendedHeaderRequest) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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