heimdall

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

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: "LatestSpan",
			Handler:    _Heimdall_LatestSpan_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

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

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

Deprecated: Use FetchLastNoAckMilestoneResponse.ProtoReflect.Descriptor instead.

func (*FetchLastNoAckMilestoneResponse) GetHeight

func (x *FetchLastNoAckMilestoneResponse) GetHeight() string

func (*FetchLastNoAckMilestoneResponse) GetResult

func (*FetchLastNoAckMilestoneResponse) ProtoMessage

func (*FetchLastNoAckMilestoneResponse) ProtoMessage()

func (*FetchLastNoAckMilestoneResponse) ProtoReflect

func (*FetchLastNoAckMilestoneResponse) Reset

func (*FetchLastNoAckMilestoneResponse) String

type FetchMilestoneCountResponse

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

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

Deprecated: Use FetchMilestoneCountResponse.ProtoReflect.Descriptor instead.

func (*FetchMilestoneCountResponse) GetHeight

func (x *FetchMilestoneCountResponse) GetHeight() string

func (*FetchMilestoneCountResponse) GetResult

func (*FetchMilestoneCountResponse) ProtoMessage

func (*FetchMilestoneCountResponse) ProtoMessage()

func (*FetchMilestoneCountResponse) ProtoReflect

func (*FetchMilestoneCountResponse) Reset

func (x *FetchMilestoneCountResponse) Reset()

func (*FetchMilestoneCountResponse) String

func (x *FetchMilestoneCountResponse) String() string

type FetchMilestoneIDRequest

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

func (*FetchMilestoneIDRequest) Descriptor deprecated

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

Deprecated: Use FetchMilestoneIDRequest.ProtoReflect.Descriptor instead.

func (*FetchMilestoneIDRequest) GetMilestoneID

func (x *FetchMilestoneIDRequest) GetMilestoneID() string

func (*FetchMilestoneIDRequest) ProtoMessage

func (*FetchMilestoneIDRequest) ProtoMessage()

func (*FetchMilestoneIDRequest) ProtoReflect

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

func (*FetchMilestoneIDRequest) Reset

func (x *FetchMilestoneIDRequest) Reset()

func (*FetchMilestoneIDRequest) String

func (x *FetchMilestoneIDRequest) String() string

type FetchMilestoneIDResponse

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

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

Deprecated: Use FetchMilestoneIDResponse.ProtoReflect.Descriptor instead.

func (*FetchMilestoneIDResponse) GetHeight

func (x *FetchMilestoneIDResponse) GetHeight() string

func (*FetchMilestoneIDResponse) GetResult

func (x *FetchMilestoneIDResponse) GetResult() *MilestoneID

func (*FetchMilestoneIDResponse) ProtoMessage

func (*FetchMilestoneIDResponse) ProtoMessage()

func (*FetchMilestoneIDResponse) ProtoReflect

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

func (*FetchMilestoneIDResponse) Reset

func (x *FetchMilestoneIDResponse) Reset()

func (*FetchMilestoneIDResponse) String

func (x *FetchMilestoneIDResponse) String() string

type FetchMilestoneNoAckRequest

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

func (*FetchMilestoneNoAckRequest) Descriptor deprecated

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

Deprecated: Use FetchMilestoneNoAckRequest.ProtoReflect.Descriptor instead.

func (*FetchMilestoneNoAckRequest) GetMilestoneID

func (x *FetchMilestoneNoAckRequest) GetMilestoneID() string

func (*FetchMilestoneNoAckRequest) ProtoMessage

func (*FetchMilestoneNoAckRequest) ProtoMessage()

func (*FetchMilestoneNoAckRequest) ProtoReflect

func (*FetchMilestoneNoAckRequest) Reset

func (x *FetchMilestoneNoAckRequest) Reset()

func (*FetchMilestoneNoAckRequest) String

func (x *FetchMilestoneNoAckRequest) String() string

type FetchMilestoneNoAckResponse

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

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

Deprecated: Use FetchMilestoneNoAckResponse.ProtoReflect.Descriptor instead.

func (*FetchMilestoneNoAckResponse) GetHeight

func (x *FetchMilestoneNoAckResponse) GetHeight() string

func (*FetchMilestoneNoAckResponse) GetResult

func (*FetchMilestoneNoAckResponse) ProtoMessage

func (*FetchMilestoneNoAckResponse) ProtoMessage()

func (*FetchMilestoneNoAckResponse) ProtoReflect

func (*FetchMilestoneNoAckResponse) Reset

func (x *FetchMilestoneNoAckResponse) Reset()

func (*FetchMilestoneNoAckResponse) String

func (x *FetchMilestoneNoAckResponse) String() string

type FetchMilestoneResponse

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

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

Deprecated: Use FetchMilestoneResponse.ProtoReflect.Descriptor instead.

func (*FetchMilestoneResponse) GetHeight

func (x *FetchMilestoneResponse) GetHeight() string

func (*FetchMilestoneResponse) GetResult

func (x *FetchMilestoneResponse) GetResult() *Milestone

func (*FetchMilestoneResponse) ProtoMessage

func (*FetchMilestoneResponse) ProtoMessage()

func (*FetchMilestoneResponse) ProtoReflect

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

func (*FetchMilestoneResponse) Reset

func (x *FetchMilestoneResponse) Reset()

func (*FetchMilestoneResponse) String

func (x *FetchMilestoneResponse) String() string

type HeimdallClient

type HeimdallClient interface {
	Span(ctx context.Context, in *SpanRequest, opts ...grpc.CallOption) (*SpanResponse, error)
	LatestSpan(ctx context.Context, in *LatestSpanRequest, 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

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

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

Deprecated: Use LastNoAckMilestone.ProtoReflect.Descriptor instead.

func (*LastNoAckMilestone) GetResult

func (x *LastNoAckMilestone) GetResult() string

func (*LastNoAckMilestone) ProtoMessage

func (*LastNoAckMilestone) ProtoMessage()

func (*LastNoAckMilestone) ProtoReflect

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

func (*LastNoAckMilestone) Reset

func (x *LastNoAckMilestone) Reset()

func (*LastNoAckMilestone) String

func (x *LastNoAckMilestone) String() string

type LatestSpanRequest

type LatestSpanRequest struct {
	// contains filtered or unexported fields
}

func (*LatestSpanRequest) Descriptor deprecated

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

Deprecated: Use LatestSpanRequest.ProtoReflect.Descriptor instead.

func (*LatestSpanRequest) ProtoMessage

func (*LatestSpanRequest) ProtoMessage()

func (*LatestSpanRequest) ProtoReflect

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

func (*LatestSpanRequest) Reset

func (x *LatestSpanRequest) Reset()

func (*LatestSpanRequest) String

func (x *LatestSpanRequest) String() string

type Milestone

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

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

Deprecated: Use Milestone.ProtoReflect.Descriptor instead.

func (*Milestone) GetBorChainID

func (x *Milestone) GetBorChainID() string

func (*Milestone) GetEndBlock

func (x *Milestone) GetEndBlock() uint64

func (*Milestone) GetProposer

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

func (*Milestone) GetRootHash

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

func (*Milestone) GetStartBlock

func (x *Milestone) GetStartBlock() uint64

func (*Milestone) GetTimestamp

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

func (*Milestone) ProtoMessage

func (*Milestone) ProtoMessage()

func (*Milestone) ProtoReflect

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

func (*Milestone) Reset

func (x *Milestone) Reset()

func (*Milestone) String

func (x *Milestone) String() string

type MilestoneCount

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

func (*MilestoneCount) Descriptor deprecated

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

Deprecated: Use MilestoneCount.ProtoReflect.Descriptor instead.

func (*MilestoneCount) GetCount

func (x *MilestoneCount) GetCount() int64

func (*MilestoneCount) ProtoMessage

func (*MilestoneCount) ProtoMessage()

func (*MilestoneCount) ProtoReflect

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

func (*MilestoneCount) Reset

func (x *MilestoneCount) Reset()

func (*MilestoneCount) String

func (x *MilestoneCount) String() string

type MilestoneID

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

func (*MilestoneID) Descriptor deprecated

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

Deprecated: Use MilestoneID.ProtoReflect.Descriptor instead.

func (*MilestoneID) GetResult

func (x *MilestoneID) GetResult() bool

func (*MilestoneID) ProtoMessage

func (*MilestoneID) ProtoMessage()

func (*MilestoneID) ProtoReflect

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

func (*MilestoneID) Reset

func (x *MilestoneID) Reset()

func (*MilestoneID) String

func (x *MilestoneID) String() string

type MilestoneNoAck

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

func (*MilestoneNoAck) Descriptor deprecated

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

Deprecated: Use MilestoneNoAck.ProtoReflect.Descriptor instead.

func (*MilestoneNoAck) GetResult

func (x *MilestoneNoAck) GetResult() bool

func (*MilestoneNoAck) ProtoMessage

func (*MilestoneNoAck) ProtoMessage()

func (*MilestoneNoAck) ProtoReflect

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

func (*MilestoneNoAck) Reset

func (x *MilestoneNoAck) Reset()

func (*MilestoneNoAck) String

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

func (UnimplementedHeimdallServer) FetchMilestone

func (UnimplementedHeimdallServer) FetchMilestoneCount

func (UnimplementedHeimdallServer) FetchMilestoneID

func (UnimplementedHeimdallServer) LatestSpan

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