heimdall

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: GPL-3.0 Imports: 11 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_heimdall_heimdall_proto protoreflect.FileDescriptor
View Source
var Heimdall_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "heimdall.Heimdall",
	HandlerType: (*HeimdallServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Span",
			Handler:    _Heimdall_Span_Handler,
		},
		{
			MethodName: "FetchCheckpoint",
			Handler:    _Heimdall_FetchCheckpoint_Handler,
		},
		{
			MethodName: "FetchCheckpointCount",
			Handler:    _Heimdall_FetchCheckpointCount_Handler,
		},
		{
			MethodName: "FetchMilestone",
			Handler:    _Heimdall_FetchMilestone_Handler,
		},
		{
			MethodName: "FetchMilestoneCount",
			Handler:    _Heimdall_FetchMilestoneCount_Handler,
		},
		{
			MethodName: "FetchLastNoAckMilestone",
			Handler:    _Heimdall_FetchLastNoAckMilestone_Handler,
		},
		{
			MethodName: "FetchNoAckMilestone",
			Handler:    _Heimdall_FetchNoAckMilestone_Handler,
		},
		{
			MethodName: "FetchMilestoneID",
			Handler:    _Heimdall_FetchMilestoneID_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StateSyncEvents",
			Handler:       _Heimdall_StateSyncEvents_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "heimdall/heimdall.proto",
}

Heimdall_ServiceDesc is the grpc.ServiceDesc for Heimdall service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHeimdallServer

func RegisterHeimdallServer(s grpc.ServiceRegistrar, srv HeimdallServer)

Types

type Checkpoint

type Checkpoint struct {
	Proposer   *common.H160           `protobuf:"bytes,1,opt,name=Proposer,proto3" json:"Proposer,omitempty"`
	StartBlock uint64                 `protobuf:"varint,2,opt,name=StartBlock,proto3" json:"StartBlock,omitempty"`
	EndBlock   uint64                 `protobuf:"varint,3,opt,name=EndBlock,proto3" json:"EndBlock,omitempty"`
	RootHash   *common.H256           `protobuf:"bytes,4,opt,name=RootHash,proto3" json:"RootHash,omitempty"`
	BorChainID string                 `protobuf:"bytes,5,opt,name=BorChainID,proto3" json:"BorChainID,omitempty"`
	Timestamp  *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Checkpoint) Descriptor deprecated

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

Deprecated: Use Checkpoint.ProtoReflect.Descriptor instead.

func (*Checkpoint) GetBorChainID

func (x *Checkpoint) GetBorChainID() string

func (*Checkpoint) GetEndBlock

func (x *Checkpoint) GetEndBlock() uint64

func (*Checkpoint) GetProposer

func (x *Checkpoint) GetProposer() *common.H160

func (*Checkpoint) GetRootHash

func (x *Checkpoint) GetRootHash() *common.H256

func (*Checkpoint) GetStartBlock

func (x *Checkpoint) GetStartBlock() uint64

func (*Checkpoint) GetTimestamp

func (x *Checkpoint) GetTimestamp() *timestamppb.Timestamp

func (*Checkpoint) ProtoMessage

func (*Checkpoint) ProtoMessage()

func (*Checkpoint) ProtoReflect

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

func (*Checkpoint) Reset

func (x *Checkpoint) Reset()

func (*Checkpoint) String

func (x *Checkpoint) String() string

type CheckpointCount

type CheckpointCount struct {
	Result int64 `protobuf:"varint,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointCount) Descriptor deprecated

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

Deprecated: Use CheckpointCount.ProtoReflect.Descriptor instead.

func (*CheckpointCount) GetResult

func (x *CheckpointCount) GetResult() int64

func (*CheckpointCount) ProtoMessage

func (*CheckpointCount) ProtoMessage()

func (*CheckpointCount) ProtoReflect

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

func (*CheckpointCount) Reset

func (x *CheckpointCount) Reset()

func (*CheckpointCount) String

func (x *CheckpointCount) String() string

type EventRecord

type EventRecord struct {
	ID       uint64                 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Contract string                 `protobuf:"bytes,2,opt,name=Contract,proto3" json:"Contract,omitempty"`
	Data     string                 `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"`
	TxHash   string                 `protobuf:"bytes,4,opt,name=TxHash,proto3" json:"TxHash,omitempty"`
	LogIndex uint64                 `protobuf:"varint,5,opt,name=LogIndex,proto3" json:"LogIndex,omitempty"`
	ChainID  string                 `protobuf:"bytes,6,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	Time     *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=Time,proto3" json:"Time,omitempty"`
	// contains filtered or unexported fields
}

func (*EventRecord) Descriptor deprecated

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

Deprecated: Use EventRecord.ProtoReflect.Descriptor instead.

func (*EventRecord) GetChainID

func (x *EventRecord) GetChainID() string

func (*EventRecord) GetContract

func (x *EventRecord) GetContract() string

func (*EventRecord) GetData

func (x *EventRecord) GetData() string

func (*EventRecord) GetID

func (x *EventRecord) GetID() uint64

func (*EventRecord) GetLogIndex

func (x *EventRecord) GetLogIndex() uint64

func (*EventRecord) GetTime

func (x *EventRecord) GetTime() *timestamppb.Timestamp

func (*EventRecord) GetTxHash

func (x *EventRecord) GetTxHash() string

func (*EventRecord) ProtoMessage

func (*EventRecord) ProtoMessage()

func (*EventRecord) ProtoReflect

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

func (*EventRecord) Reset

func (x *EventRecord) Reset()

func (*EventRecord) String

func (x *EventRecord) String() string

type FetchCheckpointCountResponse

type FetchCheckpointCountResponse struct {
	Height string           `protobuf:"bytes,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Result *CheckpointCount `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchCheckpointCountResponse) Descriptor deprecated

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

Deprecated: Use FetchCheckpointCountResponse.ProtoReflect.Descriptor instead.

func (*FetchCheckpointCountResponse) GetHeight

func (x *FetchCheckpointCountResponse) GetHeight() string

func (*FetchCheckpointCountResponse) GetResult

func (*FetchCheckpointCountResponse) ProtoMessage

func (*FetchCheckpointCountResponse) ProtoMessage()

func (*FetchCheckpointCountResponse) ProtoReflect

func (*FetchCheckpointCountResponse) Reset

func (x *FetchCheckpointCountResponse) Reset()

func (*FetchCheckpointCountResponse) String

type FetchCheckpointRequest

type FetchCheckpointRequest struct {
	ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchCheckpointRequest) Descriptor deprecated

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

Deprecated: Use FetchCheckpointRequest.ProtoReflect.Descriptor instead.

func (*FetchCheckpointRequest) GetID

func (x *FetchCheckpointRequest) GetID() int64

func (*FetchCheckpointRequest) ProtoMessage

func (*FetchCheckpointRequest) ProtoMessage()

func (*FetchCheckpointRequest) ProtoReflect

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

func (*FetchCheckpointRequest) Reset

func (x *FetchCheckpointRequest) Reset()

func (*FetchCheckpointRequest) String

func (x *FetchCheckpointRequest) String() string

type FetchCheckpointResponse

type FetchCheckpointResponse struct {
	Height string      `protobuf:"bytes,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Result *Checkpoint `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchCheckpointResponse) Descriptor deprecated

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

Deprecated: Use FetchCheckpointResponse.ProtoReflect.Descriptor instead.

func (*FetchCheckpointResponse) GetHeight

func (x *FetchCheckpointResponse) GetHeight() string

func (*FetchCheckpointResponse) GetResult

func (x *FetchCheckpointResponse) GetResult() *Checkpoint

func (*FetchCheckpointResponse) ProtoMessage

func (*FetchCheckpointResponse) ProtoMessage()

func (*FetchCheckpointResponse) ProtoReflect

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

func (*FetchCheckpointResponse) Reset

func (x *FetchCheckpointResponse) Reset()

func (*FetchCheckpointResponse) String

func (x *FetchCheckpointResponse) String() string

type FetchLastNoAckMilestoneResponse added in v0.0.3

type FetchLastNoAckMilestoneResponse struct {
	Height string              `protobuf:"bytes,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Result *LastNoAckMilestone `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchLastNoAckMilestoneResponse) Descriptor deprecated added in v0.0.3

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

Deprecated: Use FetchLastNoAckMilestoneResponse.ProtoReflect.Descriptor instead.

func (*FetchLastNoAckMilestoneResponse) GetHeight added in v0.0.3

func (x *FetchLastNoAckMilestoneResponse) GetHeight() string

func (*FetchLastNoAckMilestoneResponse) GetResult added in v0.0.3

func (*FetchLastNoAckMilestoneResponse) ProtoMessage added in v0.0.3

func (*FetchLastNoAckMilestoneResponse) ProtoMessage()

func (*FetchLastNoAckMilestoneResponse) ProtoReflect added in v0.0.3

func (*FetchLastNoAckMilestoneResponse) Reset added in v0.0.3

func (*FetchLastNoAckMilestoneResponse) String added in v0.0.3

type FetchMilestoneCountResponse added in v0.0.3

type FetchMilestoneCountResponse struct {
	Height string          `protobuf:"bytes,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Result *MilestoneCount `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchMilestoneCountResponse) Descriptor deprecated added in v0.0.3

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

Deprecated: Use FetchMilestoneCountResponse.ProtoReflect.Descriptor instead.

func (*FetchMilestoneCountResponse) GetHeight added in v0.0.3

func (x *FetchMilestoneCountResponse) GetHeight() string

func (*FetchMilestoneCountResponse) GetResult added in v0.0.3

func (*FetchMilestoneCountResponse) ProtoMessage added in v0.0.3

func (*FetchMilestoneCountResponse) ProtoMessage()

func (*FetchMilestoneCountResponse) ProtoReflect added in v0.0.3

func (*FetchMilestoneCountResponse) Reset added in v0.0.3

func (x *FetchMilestoneCountResponse) Reset()

func (*FetchMilestoneCountResponse) String added in v0.0.3

func (x *FetchMilestoneCountResponse) String() string

type FetchMilestoneIDRequest added in v0.0.3

type FetchMilestoneIDRequest struct {
	MilestoneID string `protobuf:"bytes,1,opt,name=MilestoneID,proto3" json:"MilestoneID,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchMilestoneIDRequest) Descriptor deprecated added in v0.0.3

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

Deprecated: Use FetchMilestoneIDRequest.ProtoReflect.Descriptor instead.

func (*FetchMilestoneIDRequest) GetMilestoneID added in v0.0.3

func (x *FetchMilestoneIDRequest) GetMilestoneID() string

func (*FetchMilestoneIDRequest) ProtoMessage added in v0.0.3

func (*FetchMilestoneIDRequest) ProtoMessage()

func (*FetchMilestoneIDRequest) ProtoReflect added in v0.0.3

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

func (*FetchMilestoneIDRequest) Reset added in v0.0.3

func (x *FetchMilestoneIDRequest) Reset()

func (*FetchMilestoneIDRequest) String added in v0.0.3

func (x *FetchMilestoneIDRequest) String() string

type FetchMilestoneIDResponse added in v0.0.3

type FetchMilestoneIDResponse struct {
	Height string       `protobuf:"bytes,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Result *MilestoneID `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchMilestoneIDResponse) Descriptor deprecated added in v0.0.3

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

Deprecated: Use FetchMilestoneIDResponse.ProtoReflect.Descriptor instead.

func (*FetchMilestoneIDResponse) GetHeight added in v0.0.3

func (x *FetchMilestoneIDResponse) GetHeight() string

func (*FetchMilestoneIDResponse) GetResult added in v0.0.3

func (x *FetchMilestoneIDResponse) GetResult() *MilestoneID

func (*FetchMilestoneIDResponse) ProtoMessage added in v0.0.3

func (*FetchMilestoneIDResponse) ProtoMessage()

func (*FetchMilestoneIDResponse) ProtoReflect added in v0.0.3

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

func (*FetchMilestoneIDResponse) Reset added in v0.0.3

func (x *FetchMilestoneIDResponse) Reset()

func (*FetchMilestoneIDResponse) String added in v0.0.3

func (x *FetchMilestoneIDResponse) String() string

type FetchMilestoneNoAckRequest added in v0.0.3

type FetchMilestoneNoAckRequest struct {
	MilestoneID string `protobuf:"bytes,1,opt,name=MilestoneID,proto3" json:"MilestoneID,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchMilestoneNoAckRequest) Descriptor deprecated added in v0.0.3

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

Deprecated: Use FetchMilestoneNoAckRequest.ProtoReflect.Descriptor instead.

func (*FetchMilestoneNoAckRequest) GetMilestoneID added in v0.0.3

func (x *FetchMilestoneNoAckRequest) GetMilestoneID() string

func (*FetchMilestoneNoAckRequest) ProtoMessage added in v0.0.3

func (*FetchMilestoneNoAckRequest) ProtoMessage()

func (*FetchMilestoneNoAckRequest) ProtoReflect added in v0.0.3

func (*FetchMilestoneNoAckRequest) Reset added in v0.0.3

func (x *FetchMilestoneNoAckRequest) Reset()

func (*FetchMilestoneNoAckRequest) String added in v0.0.3

func (x *FetchMilestoneNoAckRequest) String() string

type FetchMilestoneNoAckResponse added in v0.0.3

type FetchMilestoneNoAckResponse struct {
	Height string          `protobuf:"bytes,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Result *MilestoneNoAck `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchMilestoneNoAckResponse) Descriptor deprecated added in v0.0.3

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

Deprecated: Use FetchMilestoneNoAckResponse.ProtoReflect.Descriptor instead.

func (*FetchMilestoneNoAckResponse) GetHeight added in v0.0.3

func (x *FetchMilestoneNoAckResponse) GetHeight() string

func (*FetchMilestoneNoAckResponse) GetResult added in v0.0.3

func (*FetchMilestoneNoAckResponse) ProtoMessage added in v0.0.3

func (*FetchMilestoneNoAckResponse) ProtoMessage()

func (*FetchMilestoneNoAckResponse) ProtoReflect added in v0.0.3

func (*FetchMilestoneNoAckResponse) Reset added in v0.0.3

func (x *FetchMilestoneNoAckResponse) Reset()

func (*FetchMilestoneNoAckResponse) String added in v0.0.3

func (x *FetchMilestoneNoAckResponse) String() string

type FetchMilestoneResponse added in v0.0.3

type FetchMilestoneResponse struct {
	Height string     `protobuf:"bytes,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Result *Milestone `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*FetchMilestoneResponse) Descriptor deprecated added in v0.0.3

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

Deprecated: Use FetchMilestoneResponse.ProtoReflect.Descriptor instead.

func (*FetchMilestoneResponse) GetHeight added in v0.0.3

func (x *FetchMilestoneResponse) GetHeight() string

func (*FetchMilestoneResponse) GetResult added in v0.0.3

func (x *FetchMilestoneResponse) GetResult() *Milestone

func (*FetchMilestoneResponse) ProtoMessage added in v0.0.3

func (*FetchMilestoneResponse) ProtoMessage()

func (*FetchMilestoneResponse) ProtoReflect added in v0.0.3

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

func (*FetchMilestoneResponse) Reset added in v0.0.3

func (x *FetchMilestoneResponse) Reset()

func (*FetchMilestoneResponse) String added in v0.0.3

func (x *FetchMilestoneResponse) String() string

type HeimdallClient

type HeimdallClient interface {
	Span(ctx context.Context, in *SpanRequest, opts ...grpc.CallOption) (*SpanResponse, error)
	StateSyncEvents(ctx context.Context, in *StateSyncEventsRequest, opts ...grpc.CallOption) (Heimdall_StateSyncEventsClient, error)
	FetchCheckpoint(ctx context.Context, in *FetchCheckpointRequest, opts ...grpc.CallOption) (*FetchCheckpointResponse, error)
	FetchCheckpointCount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FetchCheckpointCountResponse, error)
	FetchMilestone(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FetchMilestoneResponse, error)
	FetchMilestoneCount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FetchMilestoneCountResponse, error)
	FetchLastNoAckMilestone(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*FetchLastNoAckMilestoneResponse, error)
	FetchNoAckMilestone(ctx context.Context, in *FetchMilestoneNoAckRequest, opts ...grpc.CallOption) (*FetchMilestoneNoAckResponse, error)
	FetchMilestoneID(ctx context.Context, in *FetchMilestoneIDRequest, opts ...grpc.CallOption) (*FetchMilestoneIDResponse, error)
}

HeimdallClient is the client API for Heimdall service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewHeimdallClient

func NewHeimdallClient(cc grpc.ClientConnInterface) HeimdallClient

type HeimdallServer

HeimdallServer is the server API for Heimdall service. All implementations must embed UnimplementedHeimdallServer for forward compatibility

type Heimdall_StateSyncEventsClient

type Heimdall_StateSyncEventsClient interface {
	Recv() (*StateSyncEventsResponse, error)
	grpc.ClientStream
}

type Heimdall_StateSyncEventsServer

type Heimdall_StateSyncEventsServer interface {
	Send(*StateSyncEventsResponse) error
	grpc.ServerStream
}

type LastNoAckMilestone added in v0.0.3

type LastNoAckMilestone struct {
	Result string `protobuf:"bytes,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

---- FETCH LAST NO ACK MILESTONE ----

func (*LastNoAckMilestone) Descriptor deprecated added in v0.0.3

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

Deprecated: Use LastNoAckMilestone.ProtoReflect.Descriptor instead.

func (*LastNoAckMilestone) GetResult added in v0.0.3

func (x *LastNoAckMilestone) GetResult() string

func (*LastNoAckMilestone) ProtoMessage added in v0.0.3

func (*LastNoAckMilestone) ProtoMessage()

func (*LastNoAckMilestone) ProtoReflect added in v0.0.3

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

func (*LastNoAckMilestone) Reset added in v0.0.3

func (x *LastNoAckMilestone) Reset()

func (*LastNoAckMilestone) String added in v0.0.3

func (x *LastNoAckMilestone) String() string

type Milestone added in v0.0.3

type Milestone struct {
	Proposer   *common.H160           `protobuf:"bytes,1,opt,name=Proposer,proto3" json:"Proposer,omitempty"`
	StartBlock uint64                 `protobuf:"varint,2,opt,name=StartBlock,proto3" json:"StartBlock,omitempty"`
	EndBlock   uint64                 `protobuf:"varint,3,opt,name=EndBlock,proto3" json:"EndBlock,omitempty"`
	RootHash   *common.H256           `protobuf:"bytes,4,opt,name=RootHash,proto3" json:"RootHash,omitempty"`
	BorChainID string                 `protobuf:"bytes,5,opt,name=BorChainID,proto3" json:"BorChainID,omitempty"`
	Timestamp  *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=Timestamp,proto3" json:"Timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Milestone) Descriptor deprecated added in v0.0.3

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

Deprecated: Use Milestone.ProtoReflect.Descriptor instead.

func (*Milestone) GetBorChainID added in v0.0.3

func (x *Milestone) GetBorChainID() string

func (*Milestone) GetEndBlock added in v0.0.3

func (x *Milestone) GetEndBlock() uint64

func (*Milestone) GetProposer added in v0.0.3

func (x *Milestone) GetProposer() *common.H160

func (*Milestone) GetRootHash added in v0.0.3

func (x *Milestone) GetRootHash() *common.H256

func (*Milestone) GetStartBlock added in v0.0.3

func (x *Milestone) GetStartBlock() uint64

func (*Milestone) GetTimestamp added in v0.0.3

func (x *Milestone) GetTimestamp() *timestamppb.Timestamp

func (*Milestone) ProtoMessage added in v0.0.3

func (*Milestone) ProtoMessage()

func (*Milestone) ProtoReflect added in v0.0.3

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

func (*Milestone) Reset added in v0.0.3

func (x *Milestone) Reset()

func (*Milestone) String added in v0.0.3

func (x *Milestone) String() string

type MilestoneCount added in v0.0.3

type MilestoneCount struct {
	Count int64 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"`
	// contains filtered or unexported fields
}

func (*MilestoneCount) Descriptor deprecated added in v0.0.3

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

Deprecated: Use MilestoneCount.ProtoReflect.Descriptor instead.

func (*MilestoneCount) GetCount added in v0.0.3

func (x *MilestoneCount) GetCount() int64

func (*MilestoneCount) ProtoMessage added in v0.0.3

func (*MilestoneCount) ProtoMessage()

func (*MilestoneCount) ProtoReflect added in v0.0.3

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

func (*MilestoneCount) Reset added in v0.0.3

func (x *MilestoneCount) Reset()

func (*MilestoneCount) String added in v0.0.3

func (x *MilestoneCount) String() string

type MilestoneID added in v0.0.3

type MilestoneID struct {
	Result bool `protobuf:"varint,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*MilestoneID) Descriptor deprecated added in v0.0.3

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

Deprecated: Use MilestoneID.ProtoReflect.Descriptor instead.

func (*MilestoneID) GetResult added in v0.0.3

func (x *MilestoneID) GetResult() bool

func (*MilestoneID) ProtoMessage added in v0.0.3

func (*MilestoneID) ProtoMessage()

func (*MilestoneID) ProtoReflect added in v0.0.3

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

func (*MilestoneID) Reset added in v0.0.3

func (x *MilestoneID) Reset()

func (*MilestoneID) String added in v0.0.3

func (x *MilestoneID) String() string

type MilestoneNoAck added in v0.0.3

type MilestoneNoAck struct {
	Result bool `protobuf:"varint,1,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*MilestoneNoAck) Descriptor deprecated added in v0.0.3

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

Deprecated: Use MilestoneNoAck.ProtoReflect.Descriptor instead.

func (*MilestoneNoAck) GetResult added in v0.0.3

func (x *MilestoneNoAck) GetResult() bool

func (*MilestoneNoAck) ProtoMessage added in v0.0.3

func (*MilestoneNoAck) ProtoMessage()

func (*MilestoneNoAck) ProtoReflect added in v0.0.3

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

func (*MilestoneNoAck) Reset added in v0.0.3

func (x *MilestoneNoAck) Reset()

func (*MilestoneNoAck) String added in v0.0.3

func (x *MilestoneNoAck) String() string

type Span

type Span struct {
	ID                uint64        `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	StartBlock        uint64        `protobuf:"varint,2,opt,name=StartBlock,proto3" json:"StartBlock,omitempty"`
	EndBlock          uint64        `protobuf:"varint,3,opt,name=EndBlock,proto3" json:"EndBlock,omitempty"`
	ValidatorSet      *ValidatorSet `protobuf:"bytes,4,opt,name=ValidatorSet,proto3" json:"ValidatorSet,omitempty"`
	SelectedProducers []*Validator  `protobuf:"bytes,5,rep,name=SelectedProducers,proto3" json:"SelectedProducers,omitempty"`
	ChainID           string        `protobuf:"bytes,6,opt,name=ChainID,proto3" json:"ChainID,omitempty"`
	// contains filtered or unexported fields
}

func (*Span) Descriptor deprecated

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

Deprecated: Use Span.ProtoReflect.Descriptor instead.

func (*Span) GetChainID

func (x *Span) GetChainID() string

func (*Span) GetEndBlock

func (x *Span) GetEndBlock() uint64

func (*Span) GetID

func (x *Span) GetID() uint64

func (*Span) GetSelectedProducers

func (x *Span) GetSelectedProducers() []*Validator

func (*Span) GetStartBlock

func (x *Span) GetStartBlock() uint64

func (*Span) GetValidatorSet

func (x *Span) GetValidatorSet() *ValidatorSet

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) ProtoReflect

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

func (*Span) Reset

func (x *Span) Reset()

func (*Span) String

func (x *Span) String() string

type SpanRequest

type SpanRequest struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	// contains filtered or unexported fields
}

func (*SpanRequest) Descriptor deprecated

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

Deprecated: Use SpanRequest.ProtoReflect.Descriptor instead.

func (*SpanRequest) GetID

func (x *SpanRequest) GetID() uint64

func (*SpanRequest) ProtoMessage

func (*SpanRequest) ProtoMessage()

func (*SpanRequest) ProtoReflect

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

func (*SpanRequest) Reset

func (x *SpanRequest) Reset()

func (*SpanRequest) String

func (x *SpanRequest) String() string

type SpanResponse

type SpanResponse struct {
	Height string `protobuf:"bytes,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Result *Span  `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*SpanResponse) Descriptor deprecated

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

Deprecated: Use SpanResponse.ProtoReflect.Descriptor instead.

func (*SpanResponse) GetHeight

func (x *SpanResponse) GetHeight() string

func (*SpanResponse) GetResult

func (x *SpanResponse) GetResult() *Span

func (*SpanResponse) ProtoMessage

func (*SpanResponse) ProtoMessage()

func (*SpanResponse) ProtoReflect

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

func (*SpanResponse) Reset

func (x *SpanResponse) Reset()

func (*SpanResponse) String

func (x *SpanResponse) String() string

type StateSyncEventsRequest

type StateSyncEventsRequest struct {
	FromID uint64 `protobuf:"varint,1,opt,name=FromID,proto3" json:"FromID,omitempty"`
	ToTime uint64 `protobuf:"varint,2,opt,name=ToTime,proto3" json:"ToTime,omitempty"`
	Limit  uint64 `protobuf:"varint,3,opt,name=Limit,proto3" json:"Limit,omitempty"`
	// contains filtered or unexported fields
}

func (*StateSyncEventsRequest) Descriptor deprecated

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

Deprecated: Use StateSyncEventsRequest.ProtoReflect.Descriptor instead.

func (*StateSyncEventsRequest) GetFromID

func (x *StateSyncEventsRequest) GetFromID() uint64

func (*StateSyncEventsRequest) GetLimit

func (x *StateSyncEventsRequest) GetLimit() uint64

func (*StateSyncEventsRequest) GetToTime

func (x *StateSyncEventsRequest) GetToTime() uint64

func (*StateSyncEventsRequest) ProtoMessage

func (*StateSyncEventsRequest) ProtoMessage()

func (*StateSyncEventsRequest) ProtoReflect

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

func (*StateSyncEventsRequest) Reset

func (x *StateSyncEventsRequest) Reset()

func (*StateSyncEventsRequest) String

func (x *StateSyncEventsRequest) String() string

type StateSyncEventsResponse

type StateSyncEventsResponse struct {
	Height string         `protobuf:"bytes,1,opt,name=Height,proto3" json:"Height,omitempty"`
	Result []*EventRecord `protobuf:"bytes,2,rep,name=Result,proto3" json:"Result,omitempty"`
	// contains filtered or unexported fields
}

func (*StateSyncEventsResponse) Descriptor deprecated

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

Deprecated: Use StateSyncEventsResponse.ProtoReflect.Descriptor instead.

func (*StateSyncEventsResponse) GetHeight

func (x *StateSyncEventsResponse) GetHeight() string

func (*StateSyncEventsResponse) GetResult

func (x *StateSyncEventsResponse) GetResult() []*EventRecord

func (*StateSyncEventsResponse) ProtoMessage

func (*StateSyncEventsResponse) ProtoMessage()

func (*StateSyncEventsResponse) ProtoReflect

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

func (*StateSyncEventsResponse) Reset

func (x *StateSyncEventsResponse) Reset()

func (*StateSyncEventsResponse) String

func (x *StateSyncEventsResponse) String() string

type UnimplementedHeimdallServer

type UnimplementedHeimdallServer struct {
}

UnimplementedHeimdallServer must be embedded to have forward compatible implementations.

func (UnimplementedHeimdallServer) FetchCheckpoint

func (UnimplementedHeimdallServer) FetchCheckpointCount

func (UnimplementedHeimdallServer) FetchLastNoAckMilestone added in v0.0.3

func (UnimplementedHeimdallServer) FetchMilestone added in v0.0.3

func (UnimplementedHeimdallServer) FetchMilestoneCount added in v0.0.3

func (UnimplementedHeimdallServer) FetchMilestoneID added in v0.0.3

func (UnimplementedHeimdallServer) FetchNoAckMilestone added in v0.0.3

func (UnimplementedHeimdallServer) Span

func (UnimplementedHeimdallServer) StateSyncEvents

type UnsafeHeimdallServer

type UnsafeHeimdallServer interface {
	// contains filtered or unexported methods
}

UnsafeHeimdallServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HeimdallServer will result in compilation errors.

type Validator

type Validator struct {
	ID               uint64       `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Address          *common.H160 `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty"`
	VotingPower      int64        `protobuf:"varint,3,opt,name=VotingPower,proto3" json:"VotingPower,omitempty"`
	ProposerPriority int64        `protobuf:"varint,4,opt,name=ProposerPriority,proto3" json:"ProposerPriority,omitempty"`
	// contains filtered or unexported fields
}

func (*Validator) Descriptor deprecated

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

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetAddress

func (x *Validator) GetAddress() *common.H160

func (*Validator) GetID

func (x *Validator) GetID() uint64

func (*Validator) GetProposerPriority

func (x *Validator) GetProposerPriority() int64

func (*Validator) GetVotingPower

func (x *Validator) GetVotingPower() int64

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect

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

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

type ValidatorSet

type ValidatorSet struct {
	Validators []*Validator `protobuf:"bytes,1,rep,name=Validators,proto3" json:"Validators,omitempty"`
	Proposer   *Validator   `protobuf:"bytes,2,opt,name=Proposer,proto3" json:"Proposer,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidatorSet) Descriptor deprecated

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

Deprecated: Use ValidatorSet.ProtoReflect.Descriptor instead.

func (*ValidatorSet) GetProposer

func (x *ValidatorSet) GetProposer() *Validator

func (*ValidatorSet) GetValidators

func (x *ValidatorSet) GetValidators() []*Validator

func (*ValidatorSet) ProtoMessage

func (*ValidatorSet) ProtoMessage()

func (*ValidatorSet) ProtoReflect

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

func (*ValidatorSet) Reset

func (x *ValidatorSet) Reset()

func (*ValidatorSet) String

func (x *ValidatorSet) String() string

Jump to

Keyboard shortcuts

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