proto

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: Apache-2.0, BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_packages_network_warpsync_proto_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Packet

type Packet struct {

	// Types that are assignable to Body:
	//
	//	*Packet_SlotBlocksStart
	//	*Packet_SlotBlocksBatch
	//	*Packet_SlotBlocksEnd
	//	*Packet_SlotBlocksRequest
	Body isPacket_Body `protobuf_oneof:"body"`
	// contains filtered or unexported fields
}

func (*Packet) Descriptor deprecated

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

Deprecated: Use Packet.ProtoReflect.Descriptor instead.

func (*Packet) GetBody

func (m *Packet) GetBody() isPacket_Body

func (*Packet) GetSlotBlocksBatch

func (x *Packet) GetSlotBlocksBatch() *SlotBlocksBatch

func (*Packet) GetSlotBlocksEnd

func (x *Packet) GetSlotBlocksEnd() *SlotBlocksEnd

func (*Packet) GetSlotBlocksRequest

func (x *Packet) GetSlotBlocksRequest() *SlotBlocksRequest

func (*Packet) GetSlotBlocksStart

func (x *Packet) GetSlotBlocksStart() *SlotBlocksStart

func (*Packet) ProtoMessage

func (*Packet) ProtoMessage()

func (*Packet) ProtoReflect

func (x *Packet) ProtoReflect() protoreflect.Message

func (*Packet) Reset

func (x *Packet) Reset()

func (*Packet) String

func (x *Packet) String() string

type Packet_SlotBlocksBatch

type Packet_SlotBlocksBatch struct {
	SlotBlocksBatch *SlotBlocksBatch `protobuf:"bytes,2,opt,name=slotBlocksBatch,proto3,oneof"`
}

type Packet_SlotBlocksEnd

type Packet_SlotBlocksEnd struct {
	SlotBlocksEnd *SlotBlocksEnd `protobuf:"bytes,3,opt,name=slotBlocksEnd,proto3,oneof"`
}

type Packet_SlotBlocksRequest

type Packet_SlotBlocksRequest struct {
	SlotBlocksRequest *SlotBlocksRequest `protobuf:"bytes,4,opt,name=slotBlocksRequest,proto3,oneof"`
}

type Packet_SlotBlocksStart

type Packet_SlotBlocksStart struct {
	SlotBlocksStart *SlotBlocksStart `protobuf:"bytes,1,opt,name=slotBlocksStart,proto3,oneof"`
}

type SlotBlocksBatch

type SlotBlocksBatch struct {
	SI     int64    `protobuf:"varint,1,opt,name=SI,proto3" json:"SI,omitempty"`
	SC     []byte   `protobuf:"bytes,2,opt,name=SC,proto3" json:"SC,omitempty"`
	Blocks [][]byte `protobuf:"bytes,3,rep,name=blocks,proto3" json:"blocks,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotBlocksBatch) Descriptor deprecated

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

Deprecated: Use SlotBlocksBatch.ProtoReflect.Descriptor instead.

func (*SlotBlocksBatch) GetBlocks

func (x *SlotBlocksBatch) GetBlocks() [][]byte

func (*SlotBlocksBatch) GetSC

func (x *SlotBlocksBatch) GetSC() []byte

func (*SlotBlocksBatch) GetSI

func (x *SlotBlocksBatch) GetSI() int64

func (*SlotBlocksBatch) ProtoMessage

func (*SlotBlocksBatch) ProtoMessage()

func (*SlotBlocksBatch) ProtoReflect

func (x *SlotBlocksBatch) ProtoReflect() protoreflect.Message

func (*SlotBlocksBatch) Reset

func (x *SlotBlocksBatch) Reset()

func (*SlotBlocksBatch) String

func (x *SlotBlocksBatch) String() string

type SlotBlocksEnd

type SlotBlocksEnd struct {
	SI    int64  `protobuf:"varint,1,opt,name=SI,proto3" json:"SI,omitempty"`
	SC    []byte `protobuf:"bytes,2,opt,name=SC,proto3" json:"SC,omitempty"`
	Roots []byte `protobuf:"bytes,3,opt,name=roots,proto3" json:"roots,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotBlocksEnd) Descriptor deprecated

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

Deprecated: Use SlotBlocksEnd.ProtoReflect.Descriptor instead.

func (*SlotBlocksEnd) GetRoots

func (x *SlotBlocksEnd) GetRoots() []byte

func (*SlotBlocksEnd) GetSC

func (x *SlotBlocksEnd) GetSC() []byte

func (*SlotBlocksEnd) GetSI

func (x *SlotBlocksEnd) GetSI() int64

func (*SlotBlocksEnd) ProtoMessage

func (*SlotBlocksEnd) ProtoMessage()

func (*SlotBlocksEnd) ProtoReflect

func (x *SlotBlocksEnd) ProtoReflect() protoreflect.Message

func (*SlotBlocksEnd) Reset

func (x *SlotBlocksEnd) Reset()

func (*SlotBlocksEnd) String

func (x *SlotBlocksEnd) String() string

type SlotBlocksRequest

type SlotBlocksRequest struct {
	SI int64  `protobuf:"varint,1,opt,name=SI,proto3" json:"SI,omitempty"`
	SC []byte `protobuf:"bytes,2,opt,name=SC,proto3" json:"SC,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotBlocksRequest) Descriptor deprecated

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

Deprecated: Use SlotBlocksRequest.ProtoReflect.Descriptor instead.

func (*SlotBlocksRequest) GetSC

func (x *SlotBlocksRequest) GetSC() []byte

func (*SlotBlocksRequest) GetSI

func (x *SlotBlocksRequest) GetSI() int64

func (*SlotBlocksRequest) ProtoMessage

func (*SlotBlocksRequest) ProtoMessage()

func (*SlotBlocksRequest) ProtoReflect

func (x *SlotBlocksRequest) ProtoReflect() protoreflect.Message

func (*SlotBlocksRequest) Reset

func (x *SlotBlocksRequest) Reset()

func (*SlotBlocksRequest) String

func (x *SlotBlocksRequest) String() string

type SlotBlocksStart

type SlotBlocksStart struct {
	SI          int64  `protobuf:"varint,1,opt,name=SI,proto3" json:"SI,omitempty"`
	SC          []byte `protobuf:"bytes,2,opt,name=SC,proto3" json:"SC,omitempty"`
	BlocksCount int64  `protobuf:"varint,3,opt,name=blocksCount,proto3" json:"blocksCount,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotBlocksStart) Descriptor deprecated

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

Deprecated: Use SlotBlocksStart.ProtoReflect.Descriptor instead.

func (*SlotBlocksStart) GetBlocksCount

func (x *SlotBlocksStart) GetBlocksCount() int64

func (*SlotBlocksStart) GetSC

func (x *SlotBlocksStart) GetSC() []byte

func (*SlotBlocksStart) GetSI

func (x *SlotBlocksStart) GetSI() int64

func (*SlotBlocksStart) ProtoMessage

func (*SlotBlocksStart) ProtoMessage()

func (*SlotBlocksStart) ProtoReflect

func (x *SlotBlocksStart) ProtoReflect() protoreflect.Message

func (*SlotBlocksStart) Reset

func (x *SlotBlocksStart) Reset()

func (*SlotBlocksStart) String

func (x *SlotBlocksStart) String() string

Jump to

Keyboard shortcuts

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