checkpoint

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

View Source
const (
	Query_GetCheckpointParams_FullMethodName     = "/heimdallv2.checkpoint.Query/GetCheckpointParams"
	Query_GetCheckpointOverview_FullMethodName   = "/heimdallv2.checkpoint.Query/GetCheckpointOverview"
	Query_GetAckCount_FullMethodName             = "/heimdallv2.checkpoint.Query/GetAckCount"
	Query_GetCheckpointLatest_FullMethodName     = "/heimdallv2.checkpoint.Query/GetCheckpointLatest"
	Query_GetCheckpointBuffer_FullMethodName     = "/heimdallv2.checkpoint.Query/GetCheckpointBuffer"
	Query_GetLastNoAck_FullMethodName            = "/heimdallv2.checkpoint.Query/GetLastNoAck"
	Query_GetNextCheckpoint_FullMethodName       = "/heimdallv2.checkpoint.Query/GetNextCheckpoint"
	Query_GetCurrentProposer_FullMethodName      = "/heimdallv2.checkpoint.Query/GetCurrentProposer"
	Query_GetProposers_FullMethodName            = "/heimdallv2.checkpoint.Query/GetProposers"
	Query_GetCheckpointList_FullMethodName       = "/heimdallv2.checkpoint.Query/GetCheckpointList"
	Query_GetCheckpointSignatures_FullMethodName = "/heimdallv2.checkpoint.Query/GetCheckpointSignatures"
	Query_GetCheckpoint_FullMethodName           = "/heimdallv2.checkpoint.Query/GetCheckpoint"
)
View Source
const (
	Msg_Checkpoint_FullMethodName      = "/heimdallv2.checkpoint.Msg/Checkpoint"
	Msg_CheckpointAck_FullMethodName   = "/heimdallv2.checkpoint.Msg/CheckpointAck"
	Msg_CheckpointNoAck_FullMethodName = "/heimdallv2.checkpoint.Msg/CheckpointNoAck"
	Msg_UpdateParams_FullMethodName    = "/heimdallv2.checkpoint.Msg/UpdateParams"
)

Variables

View Source
var File_heimdallv2_checkpoint_checkpoint_proto protoreflect.FileDescriptor
View Source
var File_heimdallv2_checkpoint_checkpoint_signatures_proto protoreflect.FileDescriptor
View Source
var File_heimdallv2_checkpoint_genesis_proto protoreflect.FileDescriptor
View Source
var File_heimdallv2_checkpoint_query_proto protoreflect.FileDescriptor
View Source
var File_heimdallv2_checkpoint_tx_proto protoreflect.FileDescriptor
View Source
var Msg_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "heimdallv2.checkpoint.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Checkpoint",
			Handler:    _Msg_Checkpoint_Handler,
		},
		{
			MethodName: "CheckpointAck",
			Handler:    _Msg_CheckpointAck_Handler,
		},
		{
			MethodName: "CheckpointNoAck",
			Handler:    _Msg_CheckpointNoAck_Handler,
		},
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "heimdallv2/checkpoint/tx.proto",
}

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

View Source
var Query_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "heimdallv2.checkpoint.Query",
	HandlerType: (*QueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetCheckpointParams",
			Handler:    _Query_GetCheckpointParams_Handler,
		},
		{
			MethodName: "GetCheckpointOverview",
			Handler:    _Query_GetCheckpointOverview_Handler,
		},
		{
			MethodName: "GetAckCount",
			Handler:    _Query_GetAckCount_Handler,
		},
		{
			MethodName: "GetCheckpointLatest",
			Handler:    _Query_GetCheckpointLatest_Handler,
		},
		{
			MethodName: "GetCheckpointBuffer",
			Handler:    _Query_GetCheckpointBuffer_Handler,
		},
		{
			MethodName: "GetLastNoAck",
			Handler:    _Query_GetLastNoAck_Handler,
		},
		{
			MethodName: "GetNextCheckpoint",
			Handler:    _Query_GetNextCheckpoint_Handler,
		},
		{
			MethodName: "GetCurrentProposer",
			Handler:    _Query_GetCurrentProposer_Handler,
		},
		{
			MethodName: "GetProposers",
			Handler:    _Query_GetProposers_Handler,
		},
		{
			MethodName: "GetCheckpointList",
			Handler:    _Query_GetCheckpointList_Handler,
		},
		{
			MethodName: "GetCheckpointSignatures",
			Handler:    _Query_GetCheckpointSignatures_Handler,
		},
		{
			MethodName: "GetCheckpoint",
			Handler:    _Query_GetCheckpoint_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "heimdallv2/checkpoint/query.proto",
}

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

Functions

func RegisterMsgServer

func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)

func RegisterQueryServer

func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)

Types

type Checkpoint

type Checkpoint struct {
	Id         uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Proposer   string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
	StartBlock uint64 `protobuf:"varint,3,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	EndBlock   uint64 `protobuf:"varint,4,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"`
	RootHash   []byte `protobuf:"bytes,5,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	BorChainId string `protobuf:"bytes,6,opt,name=bor_chain_id,json=borChainId,proto3" json:"bor_chain_id,omitempty"`
	Timestamp  uint64 `protobuf:"varint,7,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) GetId

func (x *Checkpoint) GetId() uint64

func (*Checkpoint) GetProposer

func (x *Checkpoint) GetProposer() string

func (*Checkpoint) GetRootHash

func (x *Checkpoint) GetRootHash() []byte

func (*Checkpoint) GetStartBlock

func (x *Checkpoint) GetStartBlock() uint64

func (*Checkpoint) GetTimestamp

func (x *Checkpoint) GetTimestamp() uint64

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 CheckpointSignature

type CheckpointSignature struct {
	ValidatorAddress []byte `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	Signature        []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointSignature) Descriptor deprecated

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

Deprecated: Use CheckpointSignature.ProtoReflect.Descriptor instead.

func (*CheckpointSignature) GetSignature

func (x *CheckpointSignature) GetSignature() []byte

func (*CheckpointSignature) GetValidatorAddress

func (x *CheckpointSignature) GetValidatorAddress() []byte

func (*CheckpointSignature) ProtoMessage

func (*CheckpointSignature) ProtoMessage()

func (*CheckpointSignature) ProtoReflect

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

func (*CheckpointSignature) Reset

func (x *CheckpointSignature) Reset()

func (*CheckpointSignature) String

func (x *CheckpointSignature) String() string

type CheckpointSignatures

type CheckpointSignatures struct {
	Signatures []*CheckpointSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckpointSignatures) Descriptor deprecated

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

Deprecated: Use CheckpointSignatures.ProtoReflect.Descriptor instead.

func (*CheckpointSignatures) GetSignatures

func (x *CheckpointSignatures) GetSignatures() []*CheckpointSignature

func (*CheckpointSignatures) ProtoMessage

func (*CheckpointSignatures) ProtoMessage()

func (*CheckpointSignatures) ProtoReflect

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

func (*CheckpointSignatures) Reset

func (x *CheckpointSignatures) Reset()

func (*CheckpointSignatures) String

func (x *CheckpointSignatures) String() string

type GenesisState

type GenesisState struct {
	Params             *Params       `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	BufferedCheckpoint *Checkpoint   `protobuf:"bytes,2,opt,name=buffered_checkpoint,json=bufferedCheckpoint,proto3" json:"buffered_checkpoint,omitempty"`
	LastNoAck          uint64        `protobuf:"varint,3,opt,name=last_no_ack,json=lastNoAck,proto3" json:"last_no_ack,omitempty"`
	AckCount           uint64        `protobuf:"varint,4,opt,name=ack_count,json=ackCount,proto3" json:"ack_count,omitempty"`
	Checkpoints        []*Checkpoint `protobuf:"bytes,5,rep,name=checkpoints,proto3" json:"checkpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*GenesisState) Descriptor deprecated

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

Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.

func (*GenesisState) GetAckCount

func (x *GenesisState) GetAckCount() uint64

func (*GenesisState) GetBufferedCheckpoint

func (x *GenesisState) GetBufferedCheckpoint() *Checkpoint

func (*GenesisState) GetCheckpoints

func (x *GenesisState) GetCheckpoints() []*Checkpoint

func (*GenesisState) GetLastNoAck

func (x *GenesisState) GetLastNoAck() uint64

func (*GenesisState) GetParams

func (x *GenesisState) GetParams() *Params

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) ProtoReflect

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

func (*GenesisState) Reset

func (x *GenesisState) Reset()

func (*GenesisState) String

func (x *GenesisState) String() string

type MsgCheckpoint

type MsgCheckpoint struct {
	Proposer        string `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"`
	StartBlock      uint64 `protobuf:"varint,2,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	EndBlock        uint64 `protobuf:"varint,3,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"`
	RootHash        []byte `protobuf:"bytes,4,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	AccountRootHash []byte `protobuf:"bytes,5,opt,name=account_root_hash,json=accountRootHash,proto3" json:"account_root_hash,omitempty"`
	BorChainId      string `protobuf:"bytes,6,opt,name=bor_chain_id,json=borChainId,proto3" json:"bor_chain_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCheckpoint) Descriptor deprecated

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

Deprecated: Use MsgCheckpoint.ProtoReflect.Descriptor instead.

func (*MsgCheckpoint) GetAccountRootHash

func (x *MsgCheckpoint) GetAccountRootHash() []byte

func (*MsgCheckpoint) GetBorChainId

func (x *MsgCheckpoint) GetBorChainId() string

func (*MsgCheckpoint) GetEndBlock

func (x *MsgCheckpoint) GetEndBlock() uint64

func (*MsgCheckpoint) GetProposer

func (x *MsgCheckpoint) GetProposer() string

func (*MsgCheckpoint) GetRootHash

func (x *MsgCheckpoint) GetRootHash() []byte

func (*MsgCheckpoint) GetStartBlock

func (x *MsgCheckpoint) GetStartBlock() uint64

func (*MsgCheckpoint) ProtoMessage

func (*MsgCheckpoint) ProtoMessage()

func (*MsgCheckpoint) ProtoReflect

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

func (*MsgCheckpoint) Reset

func (x *MsgCheckpoint) Reset()

func (*MsgCheckpoint) String

func (x *MsgCheckpoint) String() string

type MsgCheckpointNoAckResponse

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

func (*MsgCheckpointNoAckResponse) Descriptor deprecated

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

Deprecated: Use MsgCheckpointNoAckResponse.ProtoReflect.Descriptor instead.

func (*MsgCheckpointNoAckResponse) ProtoMessage

func (*MsgCheckpointNoAckResponse) ProtoMessage()

func (*MsgCheckpointNoAckResponse) ProtoReflect

func (*MsgCheckpointNoAckResponse) Reset

func (x *MsgCheckpointNoAckResponse) Reset()

func (*MsgCheckpointNoAckResponse) String

func (x *MsgCheckpointNoAckResponse) String() string

type MsgCheckpointResponse

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

func (*MsgCheckpointResponse) Descriptor deprecated

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

Deprecated: Use MsgCheckpointResponse.ProtoReflect.Descriptor instead.

func (*MsgCheckpointResponse) ProtoMessage

func (*MsgCheckpointResponse) ProtoMessage()

func (*MsgCheckpointResponse) ProtoReflect

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

func (*MsgCheckpointResponse) Reset

func (x *MsgCheckpointResponse) Reset()

func (*MsgCheckpointResponse) String

func (x *MsgCheckpointResponse) String() string

type MsgClient

type MsgClient interface {
	// Checkpoint defines a method for the new checkpoint
	Checkpoint(ctx context.Context, in *MsgCheckpoint, opts ...grpc.CallOption) (*MsgCheckpointResponse, error)
	// CheckpointAck defines a method for checkpoint ack
	CheckpointAck(ctx context.Context, in *MsgCpAck, opts ...grpc.CallOption) (*MsgCpAckResponse, error)
	// CheckpointNoAck defines a method for checkpoint no ack
	CheckpointNoAck(ctx context.Context, in *MsgCpNoAck, opts ...grpc.CallOption) (*MsgCheckpointNoAckResponse, error)
	// CheckpointNoAck defines a method for checkpoint no ack
	UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}

MsgClient is the client API for Msg 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 NewMsgClient

func NewMsgClient(cc grpc.ClientConnInterface) MsgClient

type MsgCpAck

type MsgCpAck struct {
	From       string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Number     uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	Proposer   string `protobuf:"bytes,3,opt,name=proposer,proto3" json:"proposer,omitempty"`
	StartBlock uint64 `protobuf:"varint,4,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	EndBlock   uint64 `protobuf:"varint,5,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"`
	RootHash   []byte `protobuf:"bytes,6,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	TxHash     []byte `protobuf:"bytes,7,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	LogIndex   uint64 `protobuf:"varint,8,opt,name=log_index,json=logIndex,proto3" json:"log_index,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgCpAck) Descriptor deprecated

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

Deprecated: Use MsgCpAck.ProtoReflect.Descriptor instead.

func (*MsgCpAck) GetEndBlock

func (x *MsgCpAck) GetEndBlock() uint64

func (*MsgCpAck) GetFrom

func (x *MsgCpAck) GetFrom() string

func (*MsgCpAck) GetLogIndex

func (x *MsgCpAck) GetLogIndex() uint64

func (*MsgCpAck) GetNumber

func (x *MsgCpAck) GetNumber() uint64

func (*MsgCpAck) GetProposer

func (x *MsgCpAck) GetProposer() string

func (*MsgCpAck) GetRootHash

func (x *MsgCpAck) GetRootHash() []byte

func (*MsgCpAck) GetStartBlock

func (x *MsgCpAck) GetStartBlock() uint64

func (*MsgCpAck) GetTxHash

func (x *MsgCpAck) GetTxHash() []byte

func (*MsgCpAck) ProtoMessage

func (*MsgCpAck) ProtoMessage()

func (*MsgCpAck) ProtoReflect

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

func (*MsgCpAck) Reset

func (x *MsgCpAck) Reset()

func (*MsgCpAck) String

func (x *MsgCpAck) String() string

type MsgCpAckResponse

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

func (*MsgCpAckResponse) Descriptor deprecated

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

Deprecated: Use MsgCpAckResponse.ProtoReflect.Descriptor instead.

func (*MsgCpAckResponse) ProtoMessage

func (*MsgCpAckResponse) ProtoMessage()

func (*MsgCpAckResponse) ProtoReflect

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

func (*MsgCpAckResponse) Reset

func (x *MsgCpAckResponse) Reset()

func (*MsgCpAckResponse) String

func (x *MsgCpAckResponse) String() string

type MsgCpNoAck

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

func (*MsgCpNoAck) Descriptor deprecated

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

Deprecated: Use MsgCpNoAck.ProtoReflect.Descriptor instead.

func (*MsgCpNoAck) GetFrom

func (x *MsgCpNoAck) GetFrom() string

func (*MsgCpNoAck) ProtoMessage

func (*MsgCpNoAck) ProtoMessage()

func (*MsgCpNoAck) ProtoReflect

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

func (*MsgCpNoAck) Reset

func (x *MsgCpNoAck) Reset()

func (*MsgCpNoAck) String

func (x *MsgCpNoAck) String() string

type MsgServer

type MsgServer interface {
	// Checkpoint defines a method for the new checkpoint
	Checkpoint(context.Context, *MsgCheckpoint) (*MsgCheckpointResponse, error)
	// CheckpointAck defines a method for checkpoint ack
	CheckpointAck(context.Context, *MsgCpAck) (*MsgCpAckResponse, error)
	// CheckpointNoAck defines a method for checkpoint no ack
	CheckpointNoAck(context.Context, *MsgCpNoAck) (*MsgCheckpointNoAckResponse, error)
	// CheckpointNoAck defines a method for checkpoint no ack
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
	// contains filtered or unexported methods
}

MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility

type MsgUpdateParams

type MsgUpdateParams struct {
	Authority string  `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	Params    *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*MsgUpdateParams) Descriptor deprecated

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

Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.

func (*MsgUpdateParams) GetAuthority

func (x *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (x *MsgUpdateParams) GetParams() *Params

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) ProtoReflect

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

func (*MsgUpdateParams) Reset

func (x *MsgUpdateParams) Reset()

func (*MsgUpdateParams) String

func (x *MsgUpdateParams) String() string

type MsgUpdateParamsResponse

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

func (*MsgUpdateParamsResponse) Descriptor deprecated

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

Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) ProtoReflect

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

func (*MsgUpdateParamsResponse) Reset

func (x *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) String

func (x *MsgUpdateParamsResponse) String() string

type Params

type Params struct {
	CheckpointBufferTime    *durationpb.Duration `protobuf:"bytes,1,opt,name=checkpoint_buffer_time,json=checkpointBufferTime,proto3" json:"checkpoint_buffer_time,omitempty"`
	AvgCheckpointLength     uint64               `protobuf:"varint,2,opt,name=avg_checkpoint_length,json=avgCheckpointLength,proto3" json:"avg_checkpoint_length,omitempty"`
	MaxCheckpointLength     uint64               `protobuf:"varint,3,opt,name=max_checkpoint_length,json=maxCheckpointLength,proto3" json:"max_checkpoint_length,omitempty"`
	ChildChainBlockInterval uint64               `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Params) Descriptor deprecated

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

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetAvgCheckpointLength

func (x *Params) GetAvgCheckpointLength() uint64

func (*Params) GetCheckpointBufferTime

func (x *Params) GetCheckpointBufferTime() *durationpb.Duration

func (*Params) GetChildChainBlockInterval

func (x *Params) GetChildChainBlockInterval() uint64

func (*Params) GetMaxCheckpointLength

func (x *Params) GetMaxCheckpointLength() uint64

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

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

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

type QueryAckCountRequest

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

func (*QueryAckCountRequest) Descriptor deprecated

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

Deprecated: Use QueryAckCountRequest.ProtoReflect.Descriptor instead.

func (*QueryAckCountRequest) ProtoMessage

func (*QueryAckCountRequest) ProtoMessage()

func (*QueryAckCountRequest) ProtoReflect

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

func (*QueryAckCountRequest) Reset

func (x *QueryAckCountRequest) Reset()

func (*QueryAckCountRequest) String

func (x *QueryAckCountRequest) String() string

type QueryAckCountResponse

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

func (*QueryAckCountResponse) Descriptor deprecated

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

Deprecated: Use QueryAckCountResponse.ProtoReflect.Descriptor instead.

func (*QueryAckCountResponse) GetAckCount

func (x *QueryAckCountResponse) GetAckCount() uint64

func (*QueryAckCountResponse) ProtoMessage

func (*QueryAckCountResponse) ProtoMessage()

func (*QueryAckCountResponse) ProtoReflect

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

func (*QueryAckCountResponse) Reset

func (x *QueryAckCountResponse) Reset()

func (*QueryAckCountResponse) String

func (x *QueryAckCountResponse) String() string

type QueryCheckpointBufferRequest

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

func (*QueryCheckpointBufferRequest) Descriptor deprecated

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

Deprecated: Use QueryCheckpointBufferRequest.ProtoReflect.Descriptor instead.

func (*QueryCheckpointBufferRequest) ProtoMessage

func (*QueryCheckpointBufferRequest) ProtoMessage()

func (*QueryCheckpointBufferRequest) ProtoReflect

func (*QueryCheckpointBufferRequest) Reset

func (x *QueryCheckpointBufferRequest) Reset()

func (*QueryCheckpointBufferRequest) String

type QueryCheckpointBufferResponse

type QueryCheckpointBufferResponse struct {
	Checkpoint *Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCheckpointBufferResponse) Descriptor deprecated

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

Deprecated: Use QueryCheckpointBufferResponse.ProtoReflect.Descriptor instead.

func (*QueryCheckpointBufferResponse) GetCheckpoint

func (x *QueryCheckpointBufferResponse) GetCheckpoint() *Checkpoint

func (*QueryCheckpointBufferResponse) ProtoMessage

func (*QueryCheckpointBufferResponse) ProtoMessage()

func (*QueryCheckpointBufferResponse) ProtoReflect

func (*QueryCheckpointBufferResponse) Reset

func (x *QueryCheckpointBufferResponse) Reset()

func (*QueryCheckpointBufferResponse) String

type QueryCheckpointLatestRequest

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

func (*QueryCheckpointLatestRequest) Descriptor deprecated

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

Deprecated: Use QueryCheckpointLatestRequest.ProtoReflect.Descriptor instead.

func (*QueryCheckpointLatestRequest) ProtoMessage

func (*QueryCheckpointLatestRequest) ProtoMessage()

func (*QueryCheckpointLatestRequest) ProtoReflect

func (*QueryCheckpointLatestRequest) Reset

func (x *QueryCheckpointLatestRequest) Reset()

func (*QueryCheckpointLatestRequest) String

type QueryCheckpointLatestResponse

type QueryCheckpointLatestResponse struct {
	Checkpoint *Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCheckpointLatestResponse) Descriptor deprecated

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

Deprecated: Use QueryCheckpointLatestResponse.ProtoReflect.Descriptor instead.

func (*QueryCheckpointLatestResponse) GetCheckpoint

func (x *QueryCheckpointLatestResponse) GetCheckpoint() *Checkpoint

func (*QueryCheckpointLatestResponse) ProtoMessage

func (*QueryCheckpointLatestResponse) ProtoMessage()

func (*QueryCheckpointLatestResponse) ProtoReflect

func (*QueryCheckpointLatestResponse) Reset

func (x *QueryCheckpointLatestResponse) Reset()

func (*QueryCheckpointLatestResponse) String

type QueryCheckpointListRequest

type QueryCheckpointListRequest struct {
	Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCheckpointListRequest) Descriptor deprecated

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

Deprecated: Use QueryCheckpointListRequest.ProtoReflect.Descriptor instead.

func (*QueryCheckpointListRequest) GetPagination

func (x *QueryCheckpointListRequest) GetPagination() *v1beta1.PageRequest

func (*QueryCheckpointListRequest) ProtoMessage

func (*QueryCheckpointListRequest) ProtoMessage()

func (*QueryCheckpointListRequest) ProtoReflect

func (*QueryCheckpointListRequest) Reset

func (x *QueryCheckpointListRequest) Reset()

func (*QueryCheckpointListRequest) String

func (x *QueryCheckpointListRequest) String() string

type QueryCheckpointListResponse

type QueryCheckpointListResponse struct {
	CheckpointList []*Checkpoint         `protobuf:"bytes,1,rep,name=checkpoint_list,json=checkpointList,proto3" json:"checkpoint_list,omitempty"`
	Pagination     *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCheckpointListResponse) Descriptor deprecated

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

Deprecated: Use QueryCheckpointListResponse.ProtoReflect.Descriptor instead.

func (*QueryCheckpointListResponse) GetCheckpointList

func (x *QueryCheckpointListResponse) GetCheckpointList() []*Checkpoint

func (*QueryCheckpointListResponse) GetPagination

func (x *QueryCheckpointListResponse) GetPagination() *v1beta1.PageResponse

func (*QueryCheckpointListResponse) ProtoMessage

func (*QueryCheckpointListResponse) ProtoMessage()

func (*QueryCheckpointListResponse) ProtoReflect

func (*QueryCheckpointListResponse) Reset

func (x *QueryCheckpointListResponse) Reset()

func (*QueryCheckpointListResponse) String

func (x *QueryCheckpointListResponse) String() string

type QueryCheckpointOverviewRequest

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

func (*QueryCheckpointOverviewRequest) Descriptor deprecated

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

Deprecated: Use QueryCheckpointOverviewRequest.ProtoReflect.Descriptor instead.

func (*QueryCheckpointOverviewRequest) ProtoMessage

func (*QueryCheckpointOverviewRequest) ProtoMessage()

func (*QueryCheckpointOverviewRequest) ProtoReflect

func (*QueryCheckpointOverviewRequest) Reset

func (x *QueryCheckpointOverviewRequest) Reset()

func (*QueryCheckpointOverviewRequest) String

type QueryCheckpointOverviewResponse

type QueryCheckpointOverviewResponse struct {
	AckCount         uint64              `protobuf:"varint,1,opt,name=ack_count,json=ackCount,proto3" json:"ack_count,omitempty"`
	LastNoAckId      uint64              `protobuf:"varint,2,opt,name=last_no_ack_id,json=lastNoAckId,proto3" json:"last_no_ack_id,omitempty"`
	BufferCheckpoint *Checkpoint         `protobuf:"bytes,3,opt,name=buffer_checkpoint,json=bufferCheckpoint,proto3" json:"buffer_checkpoint,omitempty"`
	ValidatorCount   uint64              `protobuf:"varint,4,opt,name=validator_count,json=validatorCount,proto3" json:"validator_count,omitempty"`
	ValidatorSet     *stake.ValidatorSet `protobuf:"bytes,5,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCheckpointOverviewResponse) Descriptor deprecated

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

Deprecated: Use QueryCheckpointOverviewResponse.ProtoReflect.Descriptor instead.

func (*QueryCheckpointOverviewResponse) GetAckCount

func (x *QueryCheckpointOverviewResponse) GetAckCount() uint64

func (*QueryCheckpointOverviewResponse) GetBufferCheckpoint

func (x *QueryCheckpointOverviewResponse) GetBufferCheckpoint() *Checkpoint

func (*QueryCheckpointOverviewResponse) GetLastNoAckId

func (x *QueryCheckpointOverviewResponse) GetLastNoAckId() uint64

func (*QueryCheckpointOverviewResponse) GetValidatorCount

func (x *QueryCheckpointOverviewResponse) GetValidatorCount() uint64

func (*QueryCheckpointOverviewResponse) GetValidatorSet

func (x *QueryCheckpointOverviewResponse) GetValidatorSet() *stake.ValidatorSet

func (*QueryCheckpointOverviewResponse) ProtoMessage

func (*QueryCheckpointOverviewResponse) ProtoMessage()

func (*QueryCheckpointOverviewResponse) ProtoReflect

func (*QueryCheckpointOverviewResponse) Reset

func (*QueryCheckpointOverviewResponse) String

type QueryCheckpointRequest

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

func (*QueryCheckpointRequest) Descriptor deprecated

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

Deprecated: Use QueryCheckpointRequest.ProtoReflect.Descriptor instead.

func (*QueryCheckpointRequest) GetNumber

func (x *QueryCheckpointRequest) GetNumber() uint64

func (*QueryCheckpointRequest) ProtoMessage

func (*QueryCheckpointRequest) ProtoMessage()

func (*QueryCheckpointRequest) ProtoReflect

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

func (*QueryCheckpointRequest) Reset

func (x *QueryCheckpointRequest) Reset()

func (*QueryCheckpointRequest) String

func (x *QueryCheckpointRequest) String() string

type QueryCheckpointResponse

type QueryCheckpointResponse struct {
	Checkpoint *Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCheckpointResponse) Descriptor deprecated

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

Deprecated: Use QueryCheckpointResponse.ProtoReflect.Descriptor instead.

func (*QueryCheckpointResponse) GetCheckpoint

func (x *QueryCheckpointResponse) GetCheckpoint() *Checkpoint

func (*QueryCheckpointResponse) ProtoMessage

func (*QueryCheckpointResponse) ProtoMessage()

func (*QueryCheckpointResponse) ProtoReflect

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

func (*QueryCheckpointResponse) Reset

func (x *QueryCheckpointResponse) Reset()

func (*QueryCheckpointResponse) String

func (x *QueryCheckpointResponse) String() string

type QueryCheckpointSignaturesRequest

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

QueryCheckpointSignaturesRequest is request type for QueryCheckpointSignatures RPC method

func (*QueryCheckpointSignaturesRequest) Descriptor deprecated

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

Deprecated: Use QueryCheckpointSignaturesRequest.ProtoReflect.Descriptor instead.

func (*QueryCheckpointSignaturesRequest) GetTxHash

func (*QueryCheckpointSignaturesRequest) ProtoMessage

func (*QueryCheckpointSignaturesRequest) ProtoMessage()

func (*QueryCheckpointSignaturesRequest) ProtoReflect

func (*QueryCheckpointSignaturesRequest) Reset

func (*QueryCheckpointSignaturesRequest) String

type QueryCheckpointSignaturesResponse

type QueryCheckpointSignaturesResponse struct {
	Signatures []*CheckpointSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"`
	// contains filtered or unexported fields
}

QueryCheckpointSignaturesResponse is response type for QueryCheckpointSignatures RPC method

func (*QueryCheckpointSignaturesResponse) Descriptor deprecated

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

Deprecated: Use QueryCheckpointSignaturesResponse.ProtoReflect.Descriptor instead.

func (*QueryCheckpointSignaturesResponse) GetSignatures

func (*QueryCheckpointSignaturesResponse) ProtoMessage

func (*QueryCheckpointSignaturesResponse) ProtoMessage()

func (*QueryCheckpointSignaturesResponse) ProtoReflect

func (*QueryCheckpointSignaturesResponse) Reset

func (*QueryCheckpointSignaturesResponse) String

type QueryClient

type QueryClient interface {
	// GetCheckpointParams queries for the x/checkpoint params
	GetCheckpointParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// GetChekpointOverview queries for the checkpoint overview
	GetCheckpointOverview(ctx context.Context, in *QueryCheckpointOverviewRequest, opts ...grpc.CallOption) (*QueryCheckpointOverviewResponse, error)
	// GetAckCount queries for the ack count
	GetAckCount(ctx context.Context, in *QueryAckCountRequest, opts ...grpc.CallOption) (*QueryAckCountResponse, error)
	// GetCheckpointLatest queries for the latest checkpoint
	GetCheckpointLatest(ctx context.Context, in *QueryCheckpointLatestRequest, opts ...grpc.CallOption) (*QueryCheckpointLatestResponse, error)
	// GetCheckpointBuffer queries for the checkpoint in the buffer
	GetCheckpointBuffer(ctx context.Context, in *QueryCheckpointBufferRequest, opts ...grpc.CallOption) (*QueryCheckpointBufferResponse, error)
	// GetLastNoAck queries for the last last-no-ack
	GetLastNoAck(ctx context.Context, in *QueryLastNoAckRequest, opts ...grpc.CallOption) (*QueryLastNoAckResponse, error)
	// GetNextCheckpoint queries for the next checkpoint
	GetNextCheckpoint(ctx context.Context, in *QueryNextCheckpointRequest, opts ...grpc.CallOption) (*QueryNextCheckpointResponse, error)
	// GetCurrentProposer queries validator info for the current proposer
	GetCurrentProposer(ctx context.Context, in *QueryCurrentProposerRequest, opts ...grpc.CallOption) (*QueryCurrentProposerResponse, error)
	// GetProposers queries for the proposers
	GetProposers(ctx context.Context, in *QueryProposerRequest, opts ...grpc.CallOption) (*QueryProposerResponse, error)
	// GetCheckpointList queries for the list of checkpoints
	GetCheckpointList(ctx context.Context, in *QueryCheckpointListRequest, opts ...grpc.CallOption) (*QueryCheckpointListResponse, error)
	// GetCheckpointSignatures queries signatures for latest checkpoint
	GetCheckpointSignatures(ctx context.Context, in *QueryCheckpointSignaturesRequest, opts ...grpc.CallOption) (*QueryCheckpointSignaturesResponse, error)
	// GetCheckpoint queries for the checkpoint based on the number
	GetCheckpoint(ctx context.Context, in *QueryCheckpointRequest, opts ...grpc.CallOption) (*QueryCheckpointResponse, error)
}

QueryClient is the client API for Query 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 NewQueryClient

func NewQueryClient(cc grpc.ClientConnInterface) QueryClient

type QueryCurrentProposerRequest

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

func (*QueryCurrentProposerRequest) Descriptor deprecated

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

Deprecated: Use QueryCurrentProposerRequest.ProtoReflect.Descriptor instead.

func (*QueryCurrentProposerRequest) ProtoMessage

func (*QueryCurrentProposerRequest) ProtoMessage()

func (*QueryCurrentProposerRequest) ProtoReflect

func (*QueryCurrentProposerRequest) Reset

func (x *QueryCurrentProposerRequest) Reset()

func (*QueryCurrentProposerRequest) String

func (x *QueryCurrentProposerRequest) String() string

type QueryCurrentProposerResponse

type QueryCurrentProposerResponse struct {
	Validator *stake.Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryCurrentProposerResponse) Descriptor deprecated

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

Deprecated: Use QueryCurrentProposerResponse.ProtoReflect.Descriptor instead.

func (*QueryCurrentProposerResponse) GetValidator

func (x *QueryCurrentProposerResponse) GetValidator() *stake.Validator

func (*QueryCurrentProposerResponse) ProtoMessage

func (*QueryCurrentProposerResponse) ProtoMessage()

func (*QueryCurrentProposerResponse) ProtoReflect

func (*QueryCurrentProposerResponse) Reset

func (x *QueryCurrentProposerResponse) Reset()

func (*QueryCurrentProposerResponse) String

type QueryLastNoAckRequest

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

func (*QueryLastNoAckRequest) Descriptor deprecated

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

Deprecated: Use QueryLastNoAckRequest.ProtoReflect.Descriptor instead.

func (*QueryLastNoAckRequest) ProtoMessage

func (*QueryLastNoAckRequest) ProtoMessage()

func (*QueryLastNoAckRequest) ProtoReflect

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

func (*QueryLastNoAckRequest) Reset

func (x *QueryLastNoAckRequest) Reset()

func (*QueryLastNoAckRequest) String

func (x *QueryLastNoAckRequest) String() string

type QueryLastNoAckResponse

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

func (*QueryLastNoAckResponse) Descriptor deprecated

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

Deprecated: Use QueryLastNoAckResponse.ProtoReflect.Descriptor instead.

func (*QueryLastNoAckResponse) GetLastNoAckId

func (x *QueryLastNoAckResponse) GetLastNoAckId() uint64

func (*QueryLastNoAckResponse) ProtoMessage

func (*QueryLastNoAckResponse) ProtoMessage()

func (*QueryLastNoAckResponse) ProtoReflect

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

func (*QueryLastNoAckResponse) Reset

func (x *QueryLastNoAckResponse) Reset()

func (*QueryLastNoAckResponse) String

func (x *QueryLastNoAckResponse) String() string

type QueryNextCheckpointRequest

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

func (*QueryNextCheckpointRequest) Descriptor deprecated

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

Deprecated: Use QueryNextCheckpointRequest.ProtoReflect.Descriptor instead.

func (*QueryNextCheckpointRequest) GetBorChainId

func (x *QueryNextCheckpointRequest) GetBorChainId() string

func (*QueryNextCheckpointRequest) ProtoMessage

func (*QueryNextCheckpointRequest) ProtoMessage()

func (*QueryNextCheckpointRequest) ProtoReflect

func (*QueryNextCheckpointRequest) Reset

func (x *QueryNextCheckpointRequest) Reset()

func (*QueryNextCheckpointRequest) String

func (x *QueryNextCheckpointRequest) String() string

type QueryNextCheckpointResponse

type QueryNextCheckpointResponse struct {
	Checkpoint *MsgCheckpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryNextCheckpointResponse) Descriptor deprecated

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

Deprecated: Use QueryNextCheckpointResponse.ProtoReflect.Descriptor instead.

func (*QueryNextCheckpointResponse) GetCheckpoint

func (x *QueryNextCheckpointResponse) GetCheckpoint() *MsgCheckpoint

func (*QueryNextCheckpointResponse) ProtoMessage

func (*QueryNextCheckpointResponse) ProtoMessage()

func (*QueryNextCheckpointResponse) ProtoReflect

func (*QueryNextCheckpointResponse) Reset

func (x *QueryNextCheckpointResponse) Reset()

func (*QueryNextCheckpointResponse) String

func (x *QueryNextCheckpointResponse) String() string

type QueryParamsRequest

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

func (*QueryParamsRequest) Descriptor deprecated

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

Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) ProtoReflect

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

func (*QueryParamsRequest) Reset

func (x *QueryParamsRequest) Reset()

func (*QueryParamsRequest) String

func (x *QueryParamsRequest) String() string

type QueryParamsResponse

type QueryParamsResponse struct {
	Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryParamsResponse) Descriptor deprecated

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

Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.

func (*QueryParamsResponse) GetParams

func (x *QueryParamsResponse) GetParams() *Params

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) ProtoReflect

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

func (*QueryParamsResponse) Reset

func (x *QueryParamsResponse) Reset()

func (*QueryParamsResponse) String

func (x *QueryParamsResponse) String() string

type QueryProposerRequest

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

func (*QueryProposerRequest) Descriptor deprecated

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

Deprecated: Use QueryProposerRequest.ProtoReflect.Descriptor instead.

func (*QueryProposerRequest) GetTimes

func (x *QueryProposerRequest) GetTimes() uint64

func (*QueryProposerRequest) ProtoMessage

func (*QueryProposerRequest) ProtoMessage()

func (*QueryProposerRequest) ProtoReflect

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

func (*QueryProposerRequest) Reset

func (x *QueryProposerRequest) Reset()

func (*QueryProposerRequest) String

func (x *QueryProposerRequest) String() string

type QueryProposerResponse

type QueryProposerResponse struct {
	Proposers []*stake.Validator `protobuf:"bytes,1,rep,name=proposers,proto3" json:"proposers,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryProposerResponse) Descriptor deprecated

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

Deprecated: Use QueryProposerResponse.ProtoReflect.Descriptor instead.

func (*QueryProposerResponse) GetProposers

func (x *QueryProposerResponse) GetProposers() []*stake.Validator

func (*QueryProposerResponse) ProtoMessage

func (*QueryProposerResponse) ProtoMessage()

func (*QueryProposerResponse) ProtoReflect

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

func (*QueryProposerResponse) Reset

func (x *QueryProposerResponse) Reset()

func (*QueryProposerResponse) String

func (x *QueryProposerResponse) String() string

type QueryServer

type QueryServer interface {
	// GetCheckpointParams queries for the x/checkpoint params
	GetCheckpointParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// GetChekpointOverview queries for the checkpoint overview
	GetCheckpointOverview(context.Context, *QueryCheckpointOverviewRequest) (*QueryCheckpointOverviewResponse, error)
	// GetAckCount queries for the ack count
	GetAckCount(context.Context, *QueryAckCountRequest) (*QueryAckCountResponse, error)
	// GetCheckpointLatest queries for the latest checkpoint
	GetCheckpointLatest(context.Context, *QueryCheckpointLatestRequest) (*QueryCheckpointLatestResponse, error)
	// GetCheckpointBuffer queries for the checkpoint in the buffer
	GetCheckpointBuffer(context.Context, *QueryCheckpointBufferRequest) (*QueryCheckpointBufferResponse, error)
	// GetLastNoAck queries for the last last-no-ack
	GetLastNoAck(context.Context, *QueryLastNoAckRequest) (*QueryLastNoAckResponse, error)
	// GetNextCheckpoint queries for the next checkpoint
	GetNextCheckpoint(context.Context, *QueryNextCheckpointRequest) (*QueryNextCheckpointResponse, error)
	// GetCurrentProposer queries validator info for the current proposer
	GetCurrentProposer(context.Context, *QueryCurrentProposerRequest) (*QueryCurrentProposerResponse, error)
	// GetProposers queries for the proposers
	GetProposers(context.Context, *QueryProposerRequest) (*QueryProposerResponse, error)
	// GetCheckpointList queries for the list of checkpoints
	GetCheckpointList(context.Context, *QueryCheckpointListRequest) (*QueryCheckpointListResponse, error)
	// GetCheckpointSignatures queries signatures for latest checkpoint
	GetCheckpointSignatures(context.Context, *QueryCheckpointSignaturesRequest) (*QueryCheckpointSignaturesResponse, error)
	// GetCheckpoint queries for the checkpoint based on the number
	GetCheckpoint(context.Context, *QueryCheckpointRequest) (*QueryCheckpointResponse, error)
	// contains filtered or unexported methods
}

QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer must be embedded to have forward compatible implementations.

func (UnimplementedMsgServer) Checkpoint

func (UnimplementedMsgServer) CheckpointAck

func (UnimplementedMsgServer) CheckpointNoAck

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) GetAckCount

func (UnimplementedQueryServer) GetCheckpoint

func (UnimplementedQueryServer) GetCheckpointParams

func (UnimplementedQueryServer) GetLastNoAck

func (UnimplementedQueryServer) GetProposers

type UnsafeMsgServer

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

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

type UnsafeQueryServer

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

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

Jump to

Keyboard shortcuts

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