models

package
v1.0.0-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_network_protocols_core_models_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Attestations

type Attestations struct {
	Commitment   []byte `protobuf:"bytes,1,opt,name=commitment,proto3" json:"commitment,omitempty"`
	Attestations []byte `protobuf:"bytes,2,opt,name=attestations,proto3" json:"attestations,omitempty"`
	MerkleProof  []byte `protobuf:"bytes,3,opt,name=merkle_proof,json=merkleProof,proto3" json:"merkle_proof,omitempty"`
	// contains filtered or unexported fields
}

func (*Attestations) Descriptor deprecated

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

Deprecated: Use Attestations.ProtoReflect.Descriptor instead.

func (*Attestations) GetAttestations

func (x *Attestations) GetAttestations() []byte

func (*Attestations) GetCommitment

func (x *Attestations) GetCommitment() []byte

func (*Attestations) GetMerkleProof

func (x *Attestations) GetMerkleProof() []byte

func (*Attestations) ProtoMessage

func (*Attestations) ProtoMessage()

func (*Attestations) ProtoReflect

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

func (*Attestations) Reset

func (x *Attestations) Reset()

func (*Attestations) String

func (x *Attestations) String() string

type AttestationsRequest

type AttestationsRequest struct {
	CommitmentId []byte `protobuf:"bytes,1,opt,name=commitment_id,json=commitmentId,proto3" json:"commitment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AttestationsRequest) Descriptor deprecated

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

Deprecated: Use AttestationsRequest.ProtoReflect.Descriptor instead.

func (*AttestationsRequest) GetCommitmentId

func (x *AttestationsRequest) GetCommitmentId() []byte

func (*AttestationsRequest) ProtoMessage

func (*AttestationsRequest) ProtoMessage()

func (*AttestationsRequest) ProtoReflect

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

func (*AttestationsRequest) Reset

func (x *AttestationsRequest) Reset()

func (*AttestationsRequest) String

func (x *AttestationsRequest) String() string

type Block

type Block struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetBytes

func (x *Block) GetBytes() []byte

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) ProtoReflect

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

func (*Block) Reset

func (x *Block) Reset()

func (*Block) String

func (x *Block) String() string

type BlockRequest

type BlockRequest struct {
	BlockId []byte `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockRequest) Descriptor deprecated

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

Deprecated: Use BlockRequest.ProtoReflect.Descriptor instead.

func (*BlockRequest) GetBlockId

func (x *BlockRequest) GetBlockId() []byte

func (*BlockRequest) ProtoMessage

func (*BlockRequest) ProtoMessage()

func (*BlockRequest) ProtoReflect

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

func (*BlockRequest) Reset

func (x *BlockRequest) Reset()

func (*BlockRequest) String

func (x *BlockRequest) String() string

type Packet

type Packet struct {

	// Types that are assignable to Body:
	//
	//	*Packet_Block
	//	*Packet_BlockRequest
	//	*Packet_SlotCommitment
	//	*Packet_SlotCommitmentRequest
	//	*Packet_Attestations
	//	*Packet_AttestationsRequest
	//	*Packet_WarpSyncRequest
	//	*Packet_WarpSyncResponse
	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) GetAttestations

func (x *Packet) GetAttestations() *Attestations

func (*Packet) GetAttestationsRequest

func (x *Packet) GetAttestationsRequest() *AttestationsRequest

func (*Packet) GetBlock

func (x *Packet) GetBlock() *Block

func (*Packet) GetBlockRequest

func (x *Packet) GetBlockRequest() *BlockRequest

func (*Packet) GetBody

func (m *Packet) GetBody() isPacket_Body

func (*Packet) GetSlotCommitment

func (x *Packet) GetSlotCommitment() *SlotCommitment

func (*Packet) GetSlotCommitmentRequest

func (x *Packet) GetSlotCommitmentRequest() *SlotCommitmentRequest

func (*Packet) GetWarpSyncRequest

func (x *Packet) GetWarpSyncRequest() *WarpSyncRequest

func (*Packet) GetWarpSyncResponse

func (x *Packet) GetWarpSyncResponse() *WarpSyncResponse

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_Attestations

type Packet_Attestations struct {
	Attestations *Attestations `protobuf:"bytes,5,opt,name=attestations,proto3,oneof"`
}

type Packet_AttestationsRequest

type Packet_AttestationsRequest struct {
	AttestationsRequest *AttestationsRequest `protobuf:"bytes,6,opt,name=attestations_request,json=attestationsRequest,proto3,oneof"`
}

type Packet_Block

type Packet_Block struct {
	Block *Block `protobuf:"bytes,1,opt,name=block,proto3,oneof"`
}

type Packet_BlockRequest

type Packet_BlockRequest struct {
	BlockRequest *BlockRequest `protobuf:"bytes,2,opt,name=block_request,json=blockRequest,proto3,oneof"`
}

type Packet_SlotCommitment

type Packet_SlotCommitment struct {
	SlotCommitment *SlotCommitment `protobuf:"bytes,3,opt,name=slot_commitment,json=slotCommitment,proto3,oneof"`
}

type Packet_SlotCommitmentRequest

type Packet_SlotCommitmentRequest struct {
	SlotCommitmentRequest *SlotCommitmentRequest `protobuf:"bytes,4,opt,name=slot_commitment_request,json=slotCommitmentRequest,proto3,oneof"`
}

type Packet_WarpSyncRequest

type Packet_WarpSyncRequest struct {
	WarpSyncRequest *WarpSyncRequest `protobuf:"bytes,7,opt,name=warp_sync_request,json=warpSyncRequest,proto3,oneof"`
}

type Packet_WarpSyncResponse

type Packet_WarpSyncResponse struct {
	WarpSyncResponse *WarpSyncResponse `protobuf:"bytes,8,opt,name=warp_sync_response,json=warpSyncResponse,proto3,oneof"`
}

type SlotCommitment

type SlotCommitment struct {
	Bytes []byte `protobuf:"bytes,1,opt,name=bytes,proto3" json:"bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotCommitment) Descriptor deprecated

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

Deprecated: Use SlotCommitment.ProtoReflect.Descriptor instead.

func (*SlotCommitment) GetBytes

func (x *SlotCommitment) GetBytes() []byte

func (*SlotCommitment) ProtoMessage

func (*SlotCommitment) ProtoMessage()

func (*SlotCommitment) ProtoReflect

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

func (*SlotCommitment) Reset

func (x *SlotCommitment) Reset()

func (*SlotCommitment) String

func (x *SlotCommitment) String() string

type SlotCommitmentRequest

type SlotCommitmentRequest struct {
	CommitmentId []byte `protobuf:"bytes,1,opt,name=commitment_id,json=commitmentId,proto3" json:"commitment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotCommitmentRequest) Descriptor deprecated

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

Deprecated: Use SlotCommitmentRequest.ProtoReflect.Descriptor instead.

func (*SlotCommitmentRequest) GetCommitmentId

func (x *SlotCommitmentRequest) GetCommitmentId() []byte

func (*SlotCommitmentRequest) ProtoMessage

func (*SlotCommitmentRequest) ProtoMessage()

func (*SlotCommitmentRequest) ProtoReflect

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

func (*SlotCommitmentRequest) Reset

func (x *SlotCommitmentRequest) Reset()

func (*SlotCommitmentRequest) String

func (x *SlotCommitmentRequest) String() string

type WarpSyncRequest

type WarpSyncRequest struct {
	CommitmentId []byte `protobuf:"bytes,1,opt,name=commitment_id,json=commitmentId,proto3" json:"commitment_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WarpSyncRequest) Descriptor deprecated

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

Deprecated: Use WarpSyncRequest.ProtoReflect.Descriptor instead.

func (*WarpSyncRequest) GetCommitmentId

func (x *WarpSyncRequest) GetCommitmentId() []byte

func (*WarpSyncRequest) ProtoMessage

func (*WarpSyncRequest) ProtoMessage()

func (*WarpSyncRequest) ProtoReflect

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

func (*WarpSyncRequest) Reset

func (x *WarpSyncRequest) Reset()

func (*WarpSyncRequest) String

func (x *WarpSyncRequest) String() string

type WarpSyncResponse

type WarpSyncResponse struct {
	CommitmentId []byte `protobuf:"bytes,1,opt,name=commitment_id,json=commitmentId,proto3" json:"commitment_id,omitempty"`
	Payload      []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*WarpSyncResponse) Descriptor deprecated

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

Deprecated: Use WarpSyncResponse.ProtoReflect.Descriptor instead.

func (*WarpSyncResponse) GetCommitmentId

func (x *WarpSyncResponse) GetCommitmentId() []byte

func (*WarpSyncResponse) GetPayload

func (x *WarpSyncResponse) GetPayload() []byte

func (*WarpSyncResponse) ProtoMessage

func (*WarpSyncResponse) ProtoMessage()

func (*WarpSyncResponse) ProtoReflect

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

func (*WarpSyncResponse) Reset

func (x *WarpSyncResponse) Reset()

func (*WarpSyncResponse) String

func (x *WarpSyncResponse) String() string

Jump to

Keyboard shortcuts

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