event

package
v0.14.6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_p2p_proto_sync_event_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Event

type Event struct {
	TransactionHash *common.Hash      `protobuf:"bytes,1,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
	FromAddress     *common.Felt252   `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	Keys            []*common.Felt252 `protobuf:"bytes,4,rep,name=keys,proto3" json:"keys,omitempty"`
	Data            []*common.Felt252 `protobuf:"bytes,5,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetData

func (x *Event) GetData() []*common.Felt252

func (*Event) GetFromAddress

func (x *Event) GetFromAddress() *common.Felt252

func (*Event) GetKeys

func (x *Event) GetKeys() []*common.Felt252

func (*Event) GetTransactionHash

func (x *Event) GetTransactionHash() *common.Hash

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type EventsRequest

type EventsRequest struct {
	Iteration *common1.Iteration `protobuf:"bytes,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
	// contains filtered or unexported fields
}

func (*EventsRequest) Descriptor deprecated

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

Deprecated: Use EventsRequest.ProtoReflect.Descriptor instead.

func (*EventsRequest) GetIteration

func (x *EventsRequest) GetIteration() *common1.Iteration

func (*EventsRequest) ProtoMessage

func (*EventsRequest) ProtoMessage()

func (*EventsRequest) ProtoReflect

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

func (*EventsRequest) Reset

func (x *EventsRequest) Reset()

func (*EventsRequest) String

func (x *EventsRequest) String() string

type EventsResponse

type EventsResponse struct {

	// Types that are valid to be assigned to EventMessage:
	//
	//	*EventsResponse_Event
	//	*EventsResponse_Fin
	EventMessage isEventsResponse_EventMessage `protobuf_oneof:"event_message"`
	// contains filtered or unexported fields
}

Responses are sent ordered by the order given in the request.

func (*EventsResponse) Descriptor deprecated

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

Deprecated: Use EventsResponse.ProtoReflect.Descriptor instead.

func (*EventsResponse) GetEvent

func (x *EventsResponse) GetEvent() *Event

func (*EventsResponse) GetEventMessage

func (x *EventsResponse) GetEventMessage() isEventsResponse_EventMessage

func (*EventsResponse) GetFin

func (x *EventsResponse) GetFin() *common.Fin

func (*EventsResponse) ProtoMessage

func (*EventsResponse) ProtoMessage()

func (*EventsResponse) ProtoReflect

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

func (*EventsResponse) Reset

func (x *EventsResponse) Reset()

func (*EventsResponse) String

func (x *EventsResponse) String() string

type EventsResponse_Event

type EventsResponse_Event struct {
	Event *Event `protobuf:"bytes,1,opt,name=event,proto3,oneof"`
}

type EventsResponse_Fin

type EventsResponse_Fin struct {
	Fin *common.Fin `protobuf:"bytes,2,opt,name=fin,proto3,oneof"` // Fin is sent after the peer sent all the data or when it encountered a block that it doesn't have its events.
}

Jump to

Keyboard shortcuts

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