types

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 49 Imported by: 2

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// DefaultCheckpointBufferTime represents the time a checkpoint is allowed to stay in the buffer (the 1000 s~17 m)
	DefaultCheckpointBufferTime           = 1000 * time.Second
	DefaultAvgCheckpointLength     uint64 = 256
	DefaultMaxCheckpointLength     uint64 = 1024
	DefaultChildChainBlockInterval uint64 = 10000
)

Default parameter values

View Source
const (
	// ModuleName is the name of the staking module
	ModuleName = "checkpoint"

	// StoreKey is the string store representation
	StoreKey = ModuleName

	// RouterKey is the msg router key for the staking module
	RouterKey = ModuleName
)

Variables

View Source
var (
	ErrInvalidLengthCheckpoint        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCheckpoint          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCheckpoint = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCheckpointSignatures        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCheckpointSignatures          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCheckpointSignatures = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidMsg              = errorsmod.Register(ModuleName, 2, "invalid message")
	ErrNoCheckpointFound       = errorsmod.Register(ModuleName, 4, "checkpoint not found")
	ErrDiscontinuousCheckpoint = errorsmod.Register(ModuleName, 7, "checkpoint is not in continuity")
	ErrBadBlockDetails         = errorsmod.Register(ModuleName, 8, "checkpoint not found in buffer")
	ErrNoAck                   = errorsmod.Register(ModuleName, 9, "no-ack invalid")
	ErrBadAck                  = errorsmod.Register(ModuleName, 10, "checkpoint ack is not valid")
	ErrInvalidNoAck            = errorsmod.Register(ModuleName, 11, "invalid no-ack, waiting for the last checkpoint ack")
	ErrInvalidNoAckProposer    = errorsmod.Register(ModuleName, 12, "invalid no-ack proposer")
	ErrTooManyNoAck            = errorsmod.Register(ModuleName, 13, "too many no-ack messages")
	ErrCheckpointParams        = errorsmod.Register(ModuleName, 14, "checkpoint params not found")
	ErrBufferFlush             = errorsmod.Register(ModuleName, 15, "flushing buffer failed")
	ErrAccountHash             = errorsmod.Register(ModuleName, 16, "error while fetching account root hash")
	ErrAlreadyExists           = errorsmod.Register(ModuleName, 17, "checkpoint already exists")
)
View Source
var (
	EventTypeCheckpoint      = "checkpoint"
	EventTypeCheckpointAck   = "checkpoint-ack"
	EventTypeCheckpointNoAck = "checkpoint-noack"

	AttributeKeyProposer    = "proposer"
	AttributeKeyStartBlock  = "start-block"
	AttributeKeyEndBlock    = "end-block"
	AttributeKeyHeaderIndex = "header-index"
	AttributeKeyNewProposer = "new-proposer"
	AttributeKeyRootHash    = "root-hash"
	AttributeKeyAccountHash = "account-hash"
	AttributeValueCategory  = ModuleName
)

Checkpoint tags

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ParamsPrefixKey represents the prefix for param
	ParamsPrefixKey = collections.NewPrefix([]byte{0x80})

	// CheckpointMapPrefixKey represents the key for each key for the checkpoint map
	CheckpointMapPrefixKey = collections.NewPrefix([]byte{0x81})
	// BufferedCheckpointPrefixKey represents the prefix for the buffered checkpoint
	BufferedCheckpointPrefixKey = collections.NewPrefix([]byte{0x82})

	// AckCountPrefixKey represents the prefix for ack count
	AckCountPrefixKey = collections.NewPrefix([]byte{0x83})

	// LastNoAckPrefixKey represents the prefix for last no ack
	LastNoAckPrefixKey = collections.NewPrefix([]byte{0x84})

	// CheckpointSignaturesPrefixKey represents the prefix for checkpoint signatures
	CheckpointSignaturesPrefixKey = collections.NewPrefix([]byte{0x85})

	// CheckpointSignaturesTxHashPrefixKey represents the prefix for checkpoint signatures tx hash
	CheckpointSignaturesTxHashPrefixKey = collections.NewPrefix([]byte{0x86})
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)

Functions

func IsCheckpointMsg

func IsCheckpointMsg(msg proto.Message) bool

func IsValidCheckpoint

func IsValidCheckpoint(ctx context.Context, start uint64, end uint64, rootHash []byte, checkpointLength uint64, contractCaller helper.IContractCaller, confirmations uint64) (bool, error)

IsValidCheckpoint validates if checkpoint rootHash matches or not

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

RegisterInterfaces registers the x/checkpoint interfaces types with the interface registry

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the necessary x/checkpoint interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RegisterSideMsgServer

func RegisterSideMsgServer(sideCfg sidetxs.SideTxConfigurator, srv sidetxs.SideMsgServer)

Types

type ChainManagerKeeper

type ChainManagerKeeper interface {
	GetParams(ctx context.Context) (cmTypes.Params, error)
}

type Checkpoint

type Checkpoint struct {
	// Unique sequential identifier for this checkpoint.
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Address of the validator who proposed this checkpoint.
	Proposer string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
	// First block number included in this checkpoint (inclusive).
	StartBlock uint64 `protobuf:"varint,3,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	// Last block number included in this checkpoint (inclusive).
	EndBlock uint64 `protobuf:"varint,4,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"`
	// Merkle root hash of all blocks in this checkpoint range.
	// This is the primary state commitment submitted to the root chain.
	RootHash []byte `protobuf:"bytes,5,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	// Chain ID of the Bor chain this checkpoint applies to.
	BorChainId string `protobuf:"bytes,6,opt,name=bor_chain_id,json=borChainId,proto3" json:"bor_chain_id,omitempty"`
	// Unix timestamp when this checkpoint was created.
	Timestamp uint64 `protobuf:"varint,7,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}

Checkpoint represents a snapshot of the Bor chain state at a specific block range. Checkpoints are periodically submitted to the root chain (Ethereum) to finalize the Bor chain state and enable fraud proofs.

func CreateCheckpoint

func CreateCheckpoint(
	id uint64,
	start uint64,
	end uint64,
	rootHash []byte,
	proposer string,
	borChainID string,
	timestamp uint64,
) Checkpoint

CreateCheckpoint generate new checkpoint

func SortCheckpoints

func SortCheckpoints(checkpoints []Checkpoint) []Checkpoint

SortCheckpoints sorts the array of checkpoints on the basis for timestamps

func (*Checkpoint) Descriptor

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

func (*Checkpoint) Equal

func (this *Checkpoint) Equal(that interface{}) bool

func (*Checkpoint) GetBorChainId

func (m *Checkpoint) GetBorChainId() string

func (*Checkpoint) GetEndBlock

func (m *Checkpoint) GetEndBlock() uint64

func (*Checkpoint) GetId

func (m *Checkpoint) GetId() uint64

func (*Checkpoint) GetProposer

func (m *Checkpoint) GetProposer() string

func (*Checkpoint) GetRootHash

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

func (*Checkpoint) GetStartBlock

func (m *Checkpoint) GetStartBlock() uint64

func (*Checkpoint) GetTimestamp

func (m *Checkpoint) GetTimestamp() uint64

func (*Checkpoint) Marshal

func (m *Checkpoint) Marshal() (dAtA []byte, err error)

func (*Checkpoint) MarshalTo

func (m *Checkpoint) MarshalTo(dAtA []byte) (int, error)

func (*Checkpoint) MarshalToSizedBuffer

func (m *Checkpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Checkpoint) ProtoMessage

func (*Checkpoint) ProtoMessage()

func (*Checkpoint) Reset

func (m *Checkpoint) Reset()

func (*Checkpoint) Size

func (m *Checkpoint) Size() (n int)

func (*Checkpoint) String

func (m *Checkpoint) String() string

func (*Checkpoint) Unmarshal

func (m *Checkpoint) Unmarshal(dAtA []byte) error

func (*Checkpoint) XXX_DiscardUnknown

func (m *Checkpoint) XXX_DiscardUnknown()

func (*Checkpoint) XXX_Marshal

func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Checkpoint) XXX_Merge

func (m *Checkpoint) XXX_Merge(src proto.Message)

func (*Checkpoint) XXX_Size

func (m *Checkpoint) XXX_Size() int

func (*Checkpoint) XXX_Unmarshal

func (m *Checkpoint) XXX_Unmarshal(b []byte) error

type CheckpointSignature

type CheckpointSignature struct {
	// Address of the validator who created this signature.
	ValidatorAddress []byte `protobuf:"bytes,1,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
	// Cryptographic signature over the checkpoint data.
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
}

CheckpointSignature represents a single validator's signature on a checkpoint.

func (*CheckpointSignature) Descriptor

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

func (*CheckpointSignature) GetSignature

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

func (*CheckpointSignature) GetValidatorAddress

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

func (*CheckpointSignature) Marshal

func (m *CheckpointSignature) Marshal() (dAtA []byte, err error)

func (*CheckpointSignature) MarshalTo

func (m *CheckpointSignature) MarshalTo(dAtA []byte) (int, error)

func (*CheckpointSignature) MarshalToSizedBuffer

func (m *CheckpointSignature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckpointSignature) ProtoMessage

func (*CheckpointSignature) ProtoMessage()

func (*CheckpointSignature) Reset

func (m *CheckpointSignature) Reset()

func (*CheckpointSignature) Size

func (m *CheckpointSignature) Size() (n int)

func (*CheckpointSignature) String

func (m *CheckpointSignature) String() string

func (*CheckpointSignature) Unmarshal

func (m *CheckpointSignature) Unmarshal(dAtA []byte) error

func (*CheckpointSignature) XXX_DiscardUnknown

func (m *CheckpointSignature) XXX_DiscardUnknown()

func (*CheckpointSignature) XXX_Marshal

func (m *CheckpointSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointSignature) XXX_Merge

func (m *CheckpointSignature) XXX_Merge(src proto.Message)

func (*CheckpointSignature) XXX_Size

func (m *CheckpointSignature) XXX_Size() int

func (*CheckpointSignature) XXX_Unmarshal

func (m *CheckpointSignature) XXX_Unmarshal(b []byte) error

type CheckpointSignatures

type CheckpointSignatures struct {
	// List of validator signatures for this checkpoint.
	Signatures []CheckpointSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures"`
}

CheckpointSignatures is a collection of validator signatures for a checkpoint. Multiple signatures are aggregated to prove consensus before submitting to the root chain.

func (*CheckpointSignatures) Descriptor

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

func (*CheckpointSignatures) GetSignatures

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

func (*CheckpointSignatures) Marshal

func (m *CheckpointSignatures) Marshal() (dAtA []byte, err error)

func (*CheckpointSignatures) MarshalTo

func (m *CheckpointSignatures) MarshalTo(dAtA []byte) (int, error)

func (*CheckpointSignatures) MarshalToSizedBuffer

func (m *CheckpointSignatures) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckpointSignatures) ProtoMessage

func (*CheckpointSignatures) ProtoMessage()

func (*CheckpointSignatures) Reset

func (m *CheckpointSignatures) Reset()

func (*CheckpointSignatures) Size

func (m *CheckpointSignatures) Size() (n int)

func (*CheckpointSignatures) String

func (m *CheckpointSignatures) String() string

func (*CheckpointSignatures) Unmarshal

func (m *CheckpointSignatures) Unmarshal(dAtA []byte) error

func (*CheckpointSignatures) XXX_DiscardUnknown

func (m *CheckpointSignatures) XXX_DiscardUnknown()

func (*CheckpointSignatures) XXX_Marshal

func (m *CheckpointSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointSignatures) XXX_Merge

func (m *CheckpointSignatures) XXX_Merge(src proto.Message)

func (*CheckpointSignatures) XXX_Size

func (m *CheckpointSignatures) XXX_Size() int

func (*CheckpointSignatures) XXX_Unmarshal

func (m *CheckpointSignatures) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	// Module parameters at genesis.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// Checkpoint currently in the buffer at genesis.
	BufferedCheckpoint *Checkpoint `protobuf:"bytes,2,opt,name=buffered_checkpoint,json=bufferedCheckpoint,proto3" json:"buffered_checkpoint,omitempty"`
	// ID of the last checkpoint that received a no-ack.
	LastNoAck uint64 `protobuf:"varint,3,opt,name=last_no_ack,json=lastNoAck,proto3" json:"last_no_ack,omitempty"`
	// Total count of checkpoint acknowledgments.
	AckCount uint64 `protobuf:"varint,4,opt,name=ack_count,json=ackCount,proto3" json:"ack_count,omitempty"`
	// List of all checkpoints at genesis.
	Checkpoints []Checkpoint `protobuf:"bytes,5,rep,name=checkpoints,proto3" json:"checkpoints"`
	// Signatures for the latest checkpoint.
	CheckpointSignatures CheckpointSignatures `protobuf:"bytes,6,opt,name=checkpoint_signatures,json=checkpointSignatures,proto3" json:"checkpoint_signatures"`
	// Transaction hash of the checkpoint that has the stored signatures.
	CheckpointSignaturesTxhash string `` /* 141-byte string literal not displayed */
}

GenesisState defines the checkpoint module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState gets the raw genesis message for testing

func GetGenesisStateFromAppState

func GetGenesisStateFromAppState(cdc codec.JSONCodec, appState map[string]json.RawMessage) *GenesisState

GetGenesisStateFromAppState returns x/checkpoint GenesisState given raw application genesis state.

func NewGenesisState

func NewGenesisState(
	params Params,
	bufferedCheckpoint *Checkpoint,
	lastNoACK uint64,
	ackCount uint64,
	checkpoints []Checkpoint,
) GenesisState

NewGenesisState creates a new genesis state.

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAckCount

func (m *GenesisState) GetAckCount() uint64

func (*GenesisState) GetBufferedCheckpoint

func (m *GenesisState) GetBufferedCheckpoint() *Checkpoint

func (*GenesisState) GetCheckpointSignatures added in v0.1.18

func (m *GenesisState) GetCheckpointSignatures() CheckpointSignatures

func (*GenesisState) GetCheckpointSignaturesTxhash added in v0.1.18

func (m *GenesisState) GetCheckpointSignaturesTxhash() string

func (*GenesisState) GetCheckpoints

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

func (*GenesisState) GetLastNoAck

func (m *GenesisState) GetLastNoAck() uint64

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate added in v0.1.18

func (gs GenesisState) Validate() error

Validate validates the provided checkpoint data

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type MsgCheckpoint

type MsgCheckpoint struct {
	// Address of the validator proposing this checkpoint.
	Proposer string `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"`
	// First block number included in this checkpoint.
	StartBlock uint64 `protobuf:"varint,2,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	// Last block number included in this checkpoint.
	EndBlock uint64 `protobuf:"varint,3,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"`
	// Merkle root hash of all blocks in the checkpoint range.
	RootHash []byte `protobuf:"bytes,4,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
	// Merkle root hash of all account states in the checkpoint range.
	AccountRootHash []byte `protobuf:"bytes,5,opt,name=account_root_hash,json=accountRootHash,proto3" json:"account_root_hash,omitempty"`
	// Chain ID of the Bor chain.
	BorChainId string `protobuf:"bytes,6,opt,name=bor_chain_id,json=borChainId,proto3" json:"bor_chain_id,omitempty"`
}

MsgCheckpoint defines the message for proposing a new checkpoint.

func NewMsgCheckpointBlock

func NewMsgCheckpointBlock(
	proposer string,
	startBlock uint64,
	endBlock uint64,
	rootHash []byte,
	accountRootHash []byte,
	borChainID string,
) *MsgCheckpoint

NewMsgCheckpointBlock creates the new checkpoint message using the mentioned arguments

func UnpackCheckpointSideSignBytes

func UnpackCheckpointSideSignBytes(data []byte) (*MsgCheckpoint, error)

UnpackCheckpointSideSignBytes reconstructs a MsgCheckpoint from the provided byte slice

func (*MsgCheckpoint) Descriptor

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

func (*MsgCheckpoint) Equal

func (this *MsgCheckpoint) Equal(that interface{}) bool

func (*MsgCheckpoint) GetAccountRootHash

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

func (*MsgCheckpoint) GetBorChainId

func (m *MsgCheckpoint) GetBorChainId() string

func (*MsgCheckpoint) GetEndBlock

func (m *MsgCheckpoint) GetEndBlock() uint64

func (*MsgCheckpoint) GetProposer

func (m *MsgCheckpoint) GetProposer() string

func (*MsgCheckpoint) GetRootHash

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

func (MsgCheckpoint) GetSideSignBytes

func (msg MsgCheckpoint) GetSideSignBytes() []byte

GetSideSignBytes returns side sign bytes

func (*MsgCheckpoint) GetStartBlock

func (m *MsgCheckpoint) GetStartBlock() uint64

func (*MsgCheckpoint) Marshal

func (m *MsgCheckpoint) Marshal() (dAtA []byte, err error)

func (*MsgCheckpoint) MarshalTo

func (m *MsgCheckpoint) MarshalTo(dAtA []byte) (int, error)

func (*MsgCheckpoint) MarshalToSizedBuffer

func (m *MsgCheckpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCheckpoint) ProtoMessage

func (*MsgCheckpoint) ProtoMessage()

func (*MsgCheckpoint) Reset

func (m *MsgCheckpoint) Reset()

func (*MsgCheckpoint) Size

func (m *MsgCheckpoint) Size() (n int)

func (*MsgCheckpoint) String

func (m *MsgCheckpoint) String() string

func (*MsgCheckpoint) Unmarshal

func (m *MsgCheckpoint) Unmarshal(dAtA []byte) error

func (MsgCheckpoint) ValidateBasic

func (msg MsgCheckpoint) ValidateBasic() error

func (*MsgCheckpoint) XXX_DiscardUnknown

func (m *MsgCheckpoint) XXX_DiscardUnknown()

func (*MsgCheckpoint) XXX_Marshal

func (m *MsgCheckpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCheckpoint) XXX_Merge

func (m *MsgCheckpoint) XXX_Merge(src proto.Message)

func (*MsgCheckpoint) XXX_Size

func (m *MsgCheckpoint) XXX_Size() int

func (*MsgCheckpoint) XXX_Unmarshal

func (m *MsgCheckpoint) XXX_Unmarshal(b []byte) error

type MsgCheckpointNoAckResponse

type MsgCheckpointNoAckResponse struct {
}

MsgCheckpointNoAckResponse defines the response for MsgCpNoAck.

func (*MsgCheckpointNoAckResponse) Descriptor

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

func (*MsgCheckpointNoAckResponse) Marshal

func (m *MsgCheckpointNoAckResponse) Marshal() (dAtA []byte, err error)

func (*MsgCheckpointNoAckResponse) MarshalTo

func (m *MsgCheckpointNoAckResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCheckpointNoAckResponse) MarshalToSizedBuffer

func (m *MsgCheckpointNoAckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCheckpointNoAckResponse) ProtoMessage

func (*MsgCheckpointNoAckResponse) ProtoMessage()

func (*MsgCheckpointNoAckResponse) Reset

func (m *MsgCheckpointNoAckResponse) Reset()

func (*MsgCheckpointNoAckResponse) Size

func (m *MsgCheckpointNoAckResponse) Size() (n int)

func (*MsgCheckpointNoAckResponse) String

func (m *MsgCheckpointNoAckResponse) String() string

func (*MsgCheckpointNoAckResponse) Unmarshal

func (m *MsgCheckpointNoAckResponse) Unmarshal(dAtA []byte) error

func (*MsgCheckpointNoAckResponse) XXX_DiscardUnknown

func (m *MsgCheckpointNoAckResponse) XXX_DiscardUnknown()

func (*MsgCheckpointNoAckResponse) XXX_Marshal

func (m *MsgCheckpointNoAckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCheckpointNoAckResponse) XXX_Merge

func (m *MsgCheckpointNoAckResponse) XXX_Merge(src proto.Message)

func (*MsgCheckpointNoAckResponse) XXX_Size

func (m *MsgCheckpointNoAckResponse) XXX_Size() int

func (*MsgCheckpointNoAckResponse) XXX_Unmarshal

func (m *MsgCheckpointNoAckResponse) XXX_Unmarshal(b []byte) error

type MsgCheckpointResponse

type MsgCheckpointResponse struct {
}

MsgCheckpointResponse defines the response for MsgCheckpoint.

func (*MsgCheckpointResponse) Descriptor

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

func (*MsgCheckpointResponse) Marshal

func (m *MsgCheckpointResponse) Marshal() (dAtA []byte, err error)

func (*MsgCheckpointResponse) MarshalTo

func (m *MsgCheckpointResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCheckpointResponse) MarshalToSizedBuffer

func (m *MsgCheckpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCheckpointResponse) ProtoMessage

func (*MsgCheckpointResponse) ProtoMessage()

func (*MsgCheckpointResponse) Reset

func (m *MsgCheckpointResponse) Reset()

func (*MsgCheckpointResponse) Size

func (m *MsgCheckpointResponse) Size() (n int)

func (*MsgCheckpointResponse) String

func (m *MsgCheckpointResponse) String() string

func (*MsgCheckpointResponse) Unmarshal

func (m *MsgCheckpointResponse) Unmarshal(dAtA []byte) error

func (*MsgCheckpointResponse) XXX_DiscardUnknown

func (m *MsgCheckpointResponse) XXX_DiscardUnknown()

func (*MsgCheckpointResponse) XXX_Marshal

func (m *MsgCheckpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCheckpointResponse) XXX_Merge

func (m *MsgCheckpointResponse) XXX_Merge(src proto.Message)

func (*MsgCheckpointResponse) XXX_Size

func (m *MsgCheckpointResponse) XXX_Size() int

func (*MsgCheckpointResponse) XXX_Unmarshal

func (m *MsgCheckpointResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// Checkpoint defines a method for proposing a new checkpoint.
	Checkpoint(ctx context.Context, in *MsgCheckpoint, opts ...grpc.CallOption) (*MsgCheckpointResponse, error)
	// CheckpointAck defines a method for validators to acknowledge a checkpoint.
	CheckpointAck(ctx context.Context, in *MsgCpAck, opts ...grpc.CallOption) (*MsgCpAckResponse, error)
	// CheckpointNoAck defines a method for validators to reject a checkpoint.
	CheckpointNoAck(ctx context.Context, in *MsgCpNoAck, opts ...grpc.CallOption) (*MsgCheckpointNoAckResponse, error)
	// UpdateParams defines a method for updating checkpoint module parameters.
	// Only the governance authority can execute this.
	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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCpAck

type MsgCpAck struct {
	// Address of the validator sending the acknowledgment.
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	// Checkpoint ID being acknowledged.
	Number uint64 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	// Address of the checkpoint proposer.
	Proposer string `protobuf:"bytes,3,opt,name=proposer,proto3" json:"proposer,omitempty"`
	// First block number in the checkpoint.
	StartBlock uint64 `protobuf:"varint,4,opt,name=start_block,json=startBlock,proto3" json:"start_block,omitempty"`
	// Last block number in the checkpoint.
	EndBlock uint64 `protobuf:"varint,5,opt,name=end_block,json=endBlock,proto3" json:"end_block,omitempty"`
	// Root hash of the checkpoint being acknowledged.
	RootHash []byte `protobuf:"bytes,6,opt,name=root_hash,json=rootHash,proto3" json:"root_hash,omitempty"`
}

MsgCpAck defines the message for acknowledging a checkpoint. Validators send acks to indicate they agree with a proposed checkpoint.

func NewMsgCpAck

func NewMsgCpAck(
	from string,
	number uint64,
	proposer string,
	startBlock uint64,
	endBlock uint64,
	rootHash []byte,
) MsgCpAck

func (*MsgCpAck) Descriptor

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

func (*MsgCpAck) GetEndBlock

func (m *MsgCpAck) GetEndBlock() uint64

func (*MsgCpAck) GetFrom

func (m *MsgCpAck) GetFrom() string

func (*MsgCpAck) GetNumber

func (m *MsgCpAck) GetNumber() uint64

func (*MsgCpAck) GetProposer

func (m *MsgCpAck) GetProposer() string

func (*MsgCpAck) GetRootHash

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

func (MsgCpAck) GetSideSignBytes

func (msg MsgCpAck) GetSideSignBytes() []byte

GetSideSignBytes returns side sign bytes

func (*MsgCpAck) GetStartBlock

func (m *MsgCpAck) GetStartBlock() uint64

func (*MsgCpAck) Marshal

func (m *MsgCpAck) Marshal() (dAtA []byte, err error)

func (*MsgCpAck) MarshalTo

func (m *MsgCpAck) MarshalTo(dAtA []byte) (int, error)

func (*MsgCpAck) MarshalToSizedBuffer

func (m *MsgCpAck) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCpAck) ProtoMessage

func (*MsgCpAck) ProtoMessage()

func (*MsgCpAck) Reset

func (m *MsgCpAck) Reset()

func (*MsgCpAck) Size

func (m *MsgCpAck) Size() (n int)

func (*MsgCpAck) String

func (m *MsgCpAck) String() string

func (*MsgCpAck) Unmarshal

func (m *MsgCpAck) Unmarshal(dAtA []byte) error

func (MsgCpAck) ValidateBasic

func (msg MsgCpAck) ValidateBasic() error

ValidateBasic validate basic

func (*MsgCpAck) XXX_DiscardUnknown

func (m *MsgCpAck) XXX_DiscardUnknown()

func (*MsgCpAck) XXX_Marshal

func (m *MsgCpAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCpAck) XXX_Merge

func (m *MsgCpAck) XXX_Merge(src proto.Message)

func (*MsgCpAck) XXX_Size

func (m *MsgCpAck) XXX_Size() int

func (*MsgCpAck) XXX_Unmarshal

func (m *MsgCpAck) XXX_Unmarshal(b []byte) error

type MsgCpAckResponse

type MsgCpAckResponse struct {
}

MsgCpAckResponse defines the response for MsgCpAck.

func (*MsgCpAckResponse) Descriptor

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

func (*MsgCpAckResponse) Marshal

func (m *MsgCpAckResponse) Marshal() (dAtA []byte, err error)

func (*MsgCpAckResponse) MarshalTo

func (m *MsgCpAckResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCpAckResponse) MarshalToSizedBuffer

func (m *MsgCpAckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCpAckResponse) ProtoMessage

func (*MsgCpAckResponse) ProtoMessage()

func (*MsgCpAckResponse) Reset

func (m *MsgCpAckResponse) Reset()

func (*MsgCpAckResponse) Size

func (m *MsgCpAckResponse) Size() (n int)

func (*MsgCpAckResponse) String

func (m *MsgCpAckResponse) String() string

func (*MsgCpAckResponse) Unmarshal

func (m *MsgCpAckResponse) Unmarshal(dAtA []byte) error

func (*MsgCpAckResponse) XXX_DiscardUnknown

func (m *MsgCpAckResponse) XXX_DiscardUnknown()

func (*MsgCpAckResponse) XXX_Marshal

func (m *MsgCpAckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCpAckResponse) XXX_Merge

func (m *MsgCpAckResponse) XXX_Merge(src proto.Message)

func (*MsgCpAckResponse) XXX_Size

func (m *MsgCpAckResponse) XXX_Size() int

func (*MsgCpAckResponse) XXX_Unmarshal

func (m *MsgCpAckResponse) XXX_Unmarshal(b []byte) error

type MsgCpNoAck

type MsgCpNoAck struct {
	// Address of the validator sending the rejection.
	From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
}

MsgCpNoAck defines the message for rejecting a checkpoint. Validators send no-acks to indicate they disagree with a proposed checkpoint.

func NewMsgCheckpointNoAck

func NewMsgCheckpointNoAck(from string) MsgCpNoAck

func (*MsgCpNoAck) Descriptor

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

func (*MsgCpNoAck) GetFrom

func (m *MsgCpNoAck) GetFrom() string

func (*MsgCpNoAck) Marshal

func (m *MsgCpNoAck) Marshal() (dAtA []byte, err error)

func (*MsgCpNoAck) MarshalTo

func (m *MsgCpNoAck) MarshalTo(dAtA []byte) (int, error)

func (*MsgCpNoAck) MarshalToSizedBuffer

func (m *MsgCpNoAck) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCpNoAck) ProtoMessage

func (*MsgCpNoAck) ProtoMessage()

func (*MsgCpNoAck) Reset

func (m *MsgCpNoAck) Reset()

func (*MsgCpNoAck) Size

func (m *MsgCpNoAck) Size() (n int)

func (*MsgCpNoAck) String

func (m *MsgCpNoAck) String() string

func (*MsgCpNoAck) Unmarshal

func (m *MsgCpNoAck) Unmarshal(dAtA []byte) error

func (MsgCpNoAck) ValidateBasic

func (msg MsgCpNoAck) ValidateBasic() error

func (*MsgCpNoAck) XXX_DiscardUnknown

func (m *MsgCpNoAck) XXX_DiscardUnknown()

func (*MsgCpNoAck) XXX_Marshal

func (m *MsgCpNoAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCpNoAck) XXX_Merge

func (m *MsgCpNoAck) XXX_Merge(src proto.Message)

func (*MsgCpNoAck) XXX_Size

func (m *MsgCpNoAck) XXX_Size() int

func (*MsgCpNoAck) XXX_Unmarshal

func (m *MsgCpNoAck) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// Checkpoint defines a method for proposing a new checkpoint.
	Checkpoint(context.Context, *MsgCheckpoint) (*MsgCheckpointResponse, error)
	// CheckpointAck defines a method for validators to acknowledge a checkpoint.
	CheckpointAck(context.Context, *MsgCpAck) (*MsgCpAckResponse, error)
	// CheckpointNoAck defines a method for validators to reject a checkpoint.
	CheckpointNoAck(context.Context, *MsgCpNoAck) (*MsgCheckpointNoAckResponse, error)
	// UpdateParams defines a method for updating checkpoint module parameters.
	// Only the governance authority can execute this.
	UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}

MsgServer is the server API for Msg service.

type MsgUpdateParams

type MsgUpdateParams struct {
	// Address of the governance authority (typically the governance module).
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// New parameters to set.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

MsgUpdateParams defines the message for updating checkpoint module parameters.

func (*MsgUpdateParams) Descriptor

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

func (*MsgUpdateParams) GetAuthority

func (m *MsgUpdateParams) GetAuthority() string

func (*MsgUpdateParams) GetParams

func (m *MsgUpdateParams) GetParams() Params

func (*MsgUpdateParams) Marshal

func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParams) MarshalTo

func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParams) MarshalToSizedBuffer

func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParams) ProtoMessage

func (*MsgUpdateParams) ProtoMessage()

func (*MsgUpdateParams) Reset

func (m *MsgUpdateParams) Reset()

func (*MsgUpdateParams) Size

func (m *MsgUpdateParams) Size() (n int)

func (*MsgUpdateParams) String

func (m *MsgUpdateParams) String() string

func (*MsgUpdateParams) Unmarshal

func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error

func (*MsgUpdateParams) XXX_DiscardUnknown

func (m *MsgUpdateParams) XXX_DiscardUnknown()

func (*MsgUpdateParams) XXX_Marshal

func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParams) XXX_Merge

func (m *MsgUpdateParams) XXX_Merge(src proto.Message)

func (*MsgUpdateParams) XXX_Size

func (m *MsgUpdateParams) XXX_Size() int

func (*MsgUpdateParams) XXX_Unmarshal

func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error

type MsgUpdateParamsResponse

type MsgUpdateParamsResponse struct {
}

MsgUpdateParamsResponse defines the response for MsgUpdateParams.

func (*MsgUpdateParamsResponse) Descriptor

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

func (*MsgUpdateParamsResponse) Marshal

func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateParamsResponse) MarshalTo

func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) MarshalToSizedBuffer

func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateParamsResponse) ProtoMessage

func (*MsgUpdateParamsResponse) ProtoMessage()

func (*MsgUpdateParamsResponse) Reset

func (m *MsgUpdateParamsResponse) Reset()

func (*MsgUpdateParamsResponse) Size

func (m *MsgUpdateParamsResponse) Size() (n int)

func (*MsgUpdateParamsResponse) String

func (m *MsgUpdateParamsResponse) String() string

func (*MsgUpdateParamsResponse) Unmarshal

func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateParamsResponse) XXX_DiscardUnknown

func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()

func (*MsgUpdateParamsResponse) XXX_Marshal

func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateParamsResponse) XXX_Merge

func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateParamsResponse) XXX_Size

func (m *MsgUpdateParamsResponse) XXX_Size() int

func (*MsgUpdateParamsResponse) XXX_Unmarshal

func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	// Time buffer before a checkpoint can be finalized.
	// This allows validators time to submit acks or no-acks.
	CheckpointBufferTime time.Duration `protobuf:"bytes,1,opt,name=checkpoint_buffer_time,json=checkpointBufferTime,proto3,stdduration" json:"checkpoint_buffer_time"`
	// Target number of blocks to include in each checkpoint.
	AvgCheckpointLength uint64 `protobuf:"varint,2,opt,name=avg_checkpoint_length,json=avgCheckpointLength,proto3" json:"avg_checkpoint_length,omitempty"`
	// Maximum number of blocks allowed in a single checkpoint.
	MaxCheckpointLength uint64 `protobuf:"varint,3,opt,name=max_checkpoint_length,json=maxCheckpointLength,proto3" json:"max_checkpoint_length,omitempty"`
	// Average time between blocks on the child (Bor) chain in seconds.
	ChildChainBlockInterval uint64 `` /* 135-byte string literal not displayed */
}

Params defines the parameters for the checkpoint module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters.

func (*Params) Descriptor

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

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) GetAvgCheckpointLength

func (m *Params) GetAvgCheckpointLength() uint64

func (*Params) GetCheckpointBufferTime

func (m *Params) GetCheckpointBufferTime() time.Duration

func (*Params) GetChildChainBlockInterval

func (m *Params) GetChildChainBlockInterval() uint64

func (*Params) GetMaxCheckpointLength

func (m *Params) GetMaxCheckpointLength() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (*Params) String

func (m *Params) String() string

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) ValidateBasic added in v0.1.18

func (p Params) ValidateBasic() error

ValidateBasic checks that the checkpoint parameters have valid values

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryAckCountRequest

type QueryAckCountRequest struct {
}

QueryAckCountRequest is the request type for the GetAckCount query.

func (*QueryAckCountRequest) Descriptor

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

func (*QueryAckCountRequest) Marshal

func (m *QueryAckCountRequest) Marshal() (dAtA []byte, err error)

func (*QueryAckCountRequest) MarshalTo

func (m *QueryAckCountRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAckCountRequest) MarshalToSizedBuffer

func (m *QueryAckCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAckCountRequest) ProtoMessage

func (*QueryAckCountRequest) ProtoMessage()

func (*QueryAckCountRequest) Reset

func (m *QueryAckCountRequest) Reset()

func (*QueryAckCountRequest) Size

func (m *QueryAckCountRequest) Size() (n int)

func (*QueryAckCountRequest) String

func (m *QueryAckCountRequest) String() string

func (*QueryAckCountRequest) Unmarshal

func (m *QueryAckCountRequest) Unmarshal(dAtA []byte) error

func (*QueryAckCountRequest) XXX_DiscardUnknown

func (m *QueryAckCountRequest) XXX_DiscardUnknown()

func (*QueryAckCountRequest) XXX_Marshal

func (m *QueryAckCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAckCountRequest) XXX_Merge

func (m *QueryAckCountRequest) XXX_Merge(src proto.Message)

func (*QueryAckCountRequest) XXX_Size

func (m *QueryAckCountRequest) XXX_Size() int

func (*QueryAckCountRequest) XXX_Unmarshal

func (m *QueryAckCountRequest) XXX_Unmarshal(b []byte) error

type QueryAckCountResponse

type QueryAckCountResponse struct {
	// Total number of checkpoint acknowledgments.
	AckCount uint64 `protobuf:"varint,1,opt,name=ack_count,json=ackCount,proto3" json:"ack_count,omitempty"`
}

QueryAckCountResponse is the response type for the GetAckCount query.

func (*QueryAckCountResponse) Descriptor

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

func (*QueryAckCountResponse) GetAckCount

func (m *QueryAckCountResponse) GetAckCount() uint64

func (*QueryAckCountResponse) Marshal

func (m *QueryAckCountResponse) Marshal() (dAtA []byte, err error)

func (*QueryAckCountResponse) MarshalTo

func (m *QueryAckCountResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAckCountResponse) MarshalToSizedBuffer

func (m *QueryAckCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAckCountResponse) ProtoMessage

func (*QueryAckCountResponse) ProtoMessage()

func (*QueryAckCountResponse) Reset

func (m *QueryAckCountResponse) Reset()

func (*QueryAckCountResponse) Size

func (m *QueryAckCountResponse) Size() (n int)

func (*QueryAckCountResponse) String

func (m *QueryAckCountResponse) String() string

func (*QueryAckCountResponse) Unmarshal

func (m *QueryAckCountResponse) Unmarshal(dAtA []byte) error

func (*QueryAckCountResponse) XXX_DiscardUnknown

func (m *QueryAckCountResponse) XXX_DiscardUnknown()

func (*QueryAckCountResponse) XXX_Marshal

func (m *QueryAckCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAckCountResponse) XXX_Merge

func (m *QueryAckCountResponse) XXX_Merge(src proto.Message)

func (*QueryAckCountResponse) XXX_Size

func (m *QueryAckCountResponse) XXX_Size() int

func (*QueryAckCountResponse) XXX_Unmarshal

func (m *QueryAckCountResponse) XXX_Unmarshal(b []byte) error

type QueryCheckpointBufferRequest

type QueryCheckpointBufferRequest struct {
}

QueryCheckpointBufferRequest is the request type for the GetCheckpointBuffer query.

func (*QueryCheckpointBufferRequest) Descriptor

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

func (*QueryCheckpointBufferRequest) Marshal

func (m *QueryCheckpointBufferRequest) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointBufferRequest) MarshalTo

func (m *QueryCheckpointBufferRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointBufferRequest) MarshalToSizedBuffer

func (m *QueryCheckpointBufferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointBufferRequest) ProtoMessage

func (*QueryCheckpointBufferRequest) ProtoMessage()

func (*QueryCheckpointBufferRequest) Reset

func (m *QueryCheckpointBufferRequest) Reset()

func (*QueryCheckpointBufferRequest) Size

func (m *QueryCheckpointBufferRequest) Size() (n int)

func (*QueryCheckpointBufferRequest) String

func (*QueryCheckpointBufferRequest) Unmarshal

func (m *QueryCheckpointBufferRequest) Unmarshal(dAtA []byte) error

func (*QueryCheckpointBufferRequest) XXX_DiscardUnknown

func (m *QueryCheckpointBufferRequest) XXX_DiscardUnknown()

func (*QueryCheckpointBufferRequest) XXX_Marshal

func (m *QueryCheckpointBufferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointBufferRequest) XXX_Merge

func (m *QueryCheckpointBufferRequest) XXX_Merge(src proto.Message)

func (*QueryCheckpointBufferRequest) XXX_Size

func (m *QueryCheckpointBufferRequest) XXX_Size() int

func (*QueryCheckpointBufferRequest) XXX_Unmarshal

func (m *QueryCheckpointBufferRequest) XXX_Unmarshal(b []byte) error

type QueryCheckpointBufferResponse

type QueryCheckpointBufferResponse struct {
	// Checkpoint currently in the buffer awaiting finalization.
	Checkpoint Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint"`
}

QueryCheckpointBufferResponse is the response type for the GetCheckpointBuffer query.

func (*QueryCheckpointBufferResponse) Descriptor

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

func (*QueryCheckpointBufferResponse) GetCheckpoint

func (m *QueryCheckpointBufferResponse) GetCheckpoint() Checkpoint

func (*QueryCheckpointBufferResponse) Marshal

func (m *QueryCheckpointBufferResponse) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointBufferResponse) MarshalTo

func (m *QueryCheckpointBufferResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointBufferResponse) MarshalToSizedBuffer

func (m *QueryCheckpointBufferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointBufferResponse) ProtoMessage

func (*QueryCheckpointBufferResponse) ProtoMessage()

func (*QueryCheckpointBufferResponse) Reset

func (m *QueryCheckpointBufferResponse) Reset()

func (*QueryCheckpointBufferResponse) Size

func (m *QueryCheckpointBufferResponse) Size() (n int)

func (*QueryCheckpointBufferResponse) String

func (*QueryCheckpointBufferResponse) Unmarshal

func (m *QueryCheckpointBufferResponse) Unmarshal(dAtA []byte) error

func (*QueryCheckpointBufferResponse) XXX_DiscardUnknown

func (m *QueryCheckpointBufferResponse) XXX_DiscardUnknown()

func (*QueryCheckpointBufferResponse) XXX_Marshal

func (m *QueryCheckpointBufferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointBufferResponse) XXX_Merge

func (m *QueryCheckpointBufferResponse) XXX_Merge(src proto.Message)

func (*QueryCheckpointBufferResponse) XXX_Size

func (m *QueryCheckpointBufferResponse) XXX_Size() int

func (*QueryCheckpointBufferResponse) XXX_Unmarshal

func (m *QueryCheckpointBufferResponse) XXX_Unmarshal(b []byte) error

type QueryCheckpointLatestRequest

type QueryCheckpointLatestRequest struct {
}

QueryCheckpointLatestRequest is the request type for the GetCheckpointLatest query.

func (*QueryCheckpointLatestRequest) Descriptor

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

func (*QueryCheckpointLatestRequest) Marshal

func (m *QueryCheckpointLatestRequest) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointLatestRequest) MarshalTo

func (m *QueryCheckpointLatestRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointLatestRequest) MarshalToSizedBuffer

func (m *QueryCheckpointLatestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointLatestRequest) ProtoMessage

func (*QueryCheckpointLatestRequest) ProtoMessage()

func (*QueryCheckpointLatestRequest) Reset

func (m *QueryCheckpointLatestRequest) Reset()

func (*QueryCheckpointLatestRequest) Size

func (m *QueryCheckpointLatestRequest) Size() (n int)

func (*QueryCheckpointLatestRequest) String

func (*QueryCheckpointLatestRequest) Unmarshal

func (m *QueryCheckpointLatestRequest) Unmarshal(dAtA []byte) error

func (*QueryCheckpointLatestRequest) XXX_DiscardUnknown

func (m *QueryCheckpointLatestRequest) XXX_DiscardUnknown()

func (*QueryCheckpointLatestRequest) XXX_Marshal

func (m *QueryCheckpointLatestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointLatestRequest) XXX_Merge

func (m *QueryCheckpointLatestRequest) XXX_Merge(src proto.Message)

func (*QueryCheckpointLatestRequest) XXX_Size

func (m *QueryCheckpointLatestRequest) XXX_Size() int

func (*QueryCheckpointLatestRequest) XXX_Unmarshal

func (m *QueryCheckpointLatestRequest) XXX_Unmarshal(b []byte) error

type QueryCheckpointLatestResponse

type QueryCheckpointLatestResponse struct {
	// The most recently finalized checkpoint.
	Checkpoint Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint"`
}

QueryCheckpointLatestResponse is the response type for the GetCheckpointLatest query.

func (*QueryCheckpointLatestResponse) Descriptor

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

func (*QueryCheckpointLatestResponse) GetCheckpoint

func (m *QueryCheckpointLatestResponse) GetCheckpoint() Checkpoint

func (*QueryCheckpointLatestResponse) Marshal

func (m *QueryCheckpointLatestResponse) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointLatestResponse) MarshalTo

func (m *QueryCheckpointLatestResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointLatestResponse) MarshalToSizedBuffer

func (m *QueryCheckpointLatestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointLatestResponse) ProtoMessage

func (*QueryCheckpointLatestResponse) ProtoMessage()

func (*QueryCheckpointLatestResponse) Reset

func (m *QueryCheckpointLatestResponse) Reset()

func (*QueryCheckpointLatestResponse) Size

func (m *QueryCheckpointLatestResponse) Size() (n int)

func (*QueryCheckpointLatestResponse) String

func (*QueryCheckpointLatestResponse) Unmarshal

func (m *QueryCheckpointLatestResponse) Unmarshal(dAtA []byte) error

func (*QueryCheckpointLatestResponse) XXX_DiscardUnknown

func (m *QueryCheckpointLatestResponse) XXX_DiscardUnknown()

func (*QueryCheckpointLatestResponse) XXX_Marshal

func (m *QueryCheckpointLatestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointLatestResponse) XXX_Merge

func (m *QueryCheckpointLatestResponse) XXX_Merge(src proto.Message)

func (*QueryCheckpointLatestResponse) XXX_Size

func (m *QueryCheckpointLatestResponse) XXX_Size() int

func (*QueryCheckpointLatestResponse) XXX_Unmarshal

func (m *QueryCheckpointLatestResponse) XXX_Unmarshal(b []byte) error

type QueryCheckpointListRequest

type QueryCheckpointListRequest struct {
	// Pagination parameters.
	Pagination query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
}

QueryCheckpointListRequest is the request type for the GetCheckpointList query.

func (*QueryCheckpointListRequest) Descriptor

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

func (*QueryCheckpointListRequest) GetPagination

func (m *QueryCheckpointListRequest) GetPagination() query.PageRequest

func (*QueryCheckpointListRequest) Marshal

func (m *QueryCheckpointListRequest) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointListRequest) MarshalTo

func (m *QueryCheckpointListRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointListRequest) MarshalToSizedBuffer

func (m *QueryCheckpointListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointListRequest) ProtoMessage

func (*QueryCheckpointListRequest) ProtoMessage()

func (*QueryCheckpointListRequest) Reset

func (m *QueryCheckpointListRequest) Reset()

func (*QueryCheckpointListRequest) Size

func (m *QueryCheckpointListRequest) Size() (n int)

func (*QueryCheckpointListRequest) String

func (m *QueryCheckpointListRequest) String() string

func (*QueryCheckpointListRequest) Unmarshal

func (m *QueryCheckpointListRequest) Unmarshal(dAtA []byte) error

func (*QueryCheckpointListRequest) XXX_DiscardUnknown

func (m *QueryCheckpointListRequest) XXX_DiscardUnknown()

func (*QueryCheckpointListRequest) XXX_Marshal

func (m *QueryCheckpointListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointListRequest) XXX_Merge

func (m *QueryCheckpointListRequest) XXX_Merge(src proto.Message)

func (*QueryCheckpointListRequest) XXX_Size

func (m *QueryCheckpointListRequest) XXX_Size() int

func (*QueryCheckpointListRequest) XXX_Unmarshal

func (m *QueryCheckpointListRequest) XXX_Unmarshal(b []byte) error

type QueryCheckpointListResponse

type QueryCheckpointListResponse struct {
	// List of checkpoints matching the query.
	CheckpointList []Checkpoint `protobuf:"bytes,1,rep,name=checkpoint_list,json=checkpointList,proto3" json:"checkpoint_list"`
	// Pagination response with next page token.
	Pagination query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"`
}

QueryCheckpointListResponse is the response type for the GetCheckpointList query.

func (*QueryCheckpointListResponse) Descriptor

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

func (*QueryCheckpointListResponse) GetCheckpointList

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

func (*QueryCheckpointListResponse) GetPagination

func (m *QueryCheckpointListResponse) GetPagination() query.PageResponse

func (*QueryCheckpointListResponse) Marshal

func (m *QueryCheckpointListResponse) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointListResponse) MarshalTo

func (m *QueryCheckpointListResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointListResponse) MarshalToSizedBuffer

func (m *QueryCheckpointListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointListResponse) ProtoMessage

func (*QueryCheckpointListResponse) ProtoMessage()

func (*QueryCheckpointListResponse) Reset

func (m *QueryCheckpointListResponse) Reset()

func (*QueryCheckpointListResponse) Size

func (m *QueryCheckpointListResponse) Size() (n int)

func (*QueryCheckpointListResponse) String

func (m *QueryCheckpointListResponse) String() string

func (*QueryCheckpointListResponse) Unmarshal

func (m *QueryCheckpointListResponse) Unmarshal(dAtA []byte) error

func (*QueryCheckpointListResponse) XXX_DiscardUnknown

func (m *QueryCheckpointListResponse) XXX_DiscardUnknown()

func (*QueryCheckpointListResponse) XXX_Marshal

func (m *QueryCheckpointListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointListResponse) XXX_Merge

func (m *QueryCheckpointListResponse) XXX_Merge(src proto.Message)

func (*QueryCheckpointListResponse) XXX_Size

func (m *QueryCheckpointListResponse) XXX_Size() int

func (*QueryCheckpointListResponse) XXX_Unmarshal

func (m *QueryCheckpointListResponse) XXX_Unmarshal(b []byte) error

type QueryCheckpointOverviewRequest

type QueryCheckpointOverviewRequest struct {
}

QueryCheckpointOverviewRequest is the request type for the GetCheckpointOverview query.

func (*QueryCheckpointOverviewRequest) Descriptor

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

func (*QueryCheckpointOverviewRequest) Marshal

func (m *QueryCheckpointOverviewRequest) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointOverviewRequest) MarshalTo

func (m *QueryCheckpointOverviewRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointOverviewRequest) MarshalToSizedBuffer

func (m *QueryCheckpointOverviewRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointOverviewRequest) ProtoMessage

func (*QueryCheckpointOverviewRequest) ProtoMessage()

func (*QueryCheckpointOverviewRequest) Reset

func (m *QueryCheckpointOverviewRequest) Reset()

func (*QueryCheckpointOverviewRequest) Size

func (m *QueryCheckpointOverviewRequest) Size() (n int)

func (*QueryCheckpointOverviewRequest) String

func (*QueryCheckpointOverviewRequest) Unmarshal

func (m *QueryCheckpointOverviewRequest) Unmarshal(dAtA []byte) error

func (*QueryCheckpointOverviewRequest) XXX_DiscardUnknown

func (m *QueryCheckpointOverviewRequest) XXX_DiscardUnknown()

func (*QueryCheckpointOverviewRequest) XXX_Marshal

func (m *QueryCheckpointOverviewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointOverviewRequest) XXX_Merge

func (m *QueryCheckpointOverviewRequest) XXX_Merge(src proto.Message)

func (*QueryCheckpointOverviewRequest) XXX_Size

func (m *QueryCheckpointOverviewRequest) XXX_Size() int

func (*QueryCheckpointOverviewRequest) XXX_Unmarshal

func (m *QueryCheckpointOverviewRequest) XXX_Unmarshal(b []byte) error

type QueryCheckpointOverviewResponse

type QueryCheckpointOverviewResponse struct {
	// Total number of checkpoint acknowledgments.
	AckCount uint64 `protobuf:"varint,1,opt,name=ack_count,json=ackCount,proto3" json:"ack_count,omitempty"`
	// ID of the last checkpoint that received a no-ack.
	LastNoAckId uint64 `protobuf:"varint,2,opt,name=last_no_ack_id,json=lastNoAckId,proto3" json:"last_no_ack_id,omitempty"`
	// Checkpoint currently in the buffer.
	BufferCheckpoint Checkpoint `protobuf:"bytes,3,opt,name=buffer_checkpoint,json=bufferCheckpoint,proto3" json:"buffer_checkpoint"`
	// Total number of active validators.
	ValidatorCount uint64 `protobuf:"varint,4,opt,name=validator_count,json=validatorCount,proto3" json:"validator_count,omitempty"`
	// Current validator set.
	ValidatorSet types.ValidatorSet `protobuf:"bytes,5,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set"`
}

QueryCheckpointOverviewResponse is the response type for the GetCheckpointOverview query.

func (*QueryCheckpointOverviewResponse) Descriptor

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

func (*QueryCheckpointOverviewResponse) GetAckCount

func (m *QueryCheckpointOverviewResponse) GetAckCount() uint64

func (*QueryCheckpointOverviewResponse) GetBufferCheckpoint

func (m *QueryCheckpointOverviewResponse) GetBufferCheckpoint() Checkpoint

func (*QueryCheckpointOverviewResponse) GetLastNoAckId

func (m *QueryCheckpointOverviewResponse) GetLastNoAckId() uint64

func (*QueryCheckpointOverviewResponse) GetValidatorCount

func (m *QueryCheckpointOverviewResponse) GetValidatorCount() uint64

func (*QueryCheckpointOverviewResponse) GetValidatorSet

func (m *QueryCheckpointOverviewResponse) GetValidatorSet() types.ValidatorSet

func (*QueryCheckpointOverviewResponse) Marshal

func (m *QueryCheckpointOverviewResponse) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointOverviewResponse) MarshalTo

func (m *QueryCheckpointOverviewResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointOverviewResponse) MarshalToSizedBuffer

func (m *QueryCheckpointOverviewResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointOverviewResponse) ProtoMessage

func (*QueryCheckpointOverviewResponse) ProtoMessage()

func (*QueryCheckpointOverviewResponse) Reset

func (*QueryCheckpointOverviewResponse) Size

func (m *QueryCheckpointOverviewResponse) Size() (n int)

func (*QueryCheckpointOverviewResponse) String

func (*QueryCheckpointOverviewResponse) Unmarshal

func (m *QueryCheckpointOverviewResponse) Unmarshal(dAtA []byte) error

func (*QueryCheckpointOverviewResponse) XXX_DiscardUnknown

func (m *QueryCheckpointOverviewResponse) XXX_DiscardUnknown()

func (*QueryCheckpointOverviewResponse) XXX_Marshal

func (m *QueryCheckpointOverviewResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointOverviewResponse) XXX_Merge

func (m *QueryCheckpointOverviewResponse) XXX_Merge(src proto.Message)

func (*QueryCheckpointOverviewResponse) XXX_Size

func (m *QueryCheckpointOverviewResponse) XXX_Size() int

func (*QueryCheckpointOverviewResponse) XXX_Unmarshal

func (m *QueryCheckpointOverviewResponse) XXX_Unmarshal(b []byte) error

type QueryCheckpointRequest

type QueryCheckpointRequest struct {
	// Checkpoint ID number to retrieve.
	Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
}

QueryCheckpointRequest is the request type for the GetCheckpoint query.

func (*QueryCheckpointRequest) Descriptor

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

func (*QueryCheckpointRequest) GetNumber

func (m *QueryCheckpointRequest) GetNumber() uint64

func (*QueryCheckpointRequest) Marshal

func (m *QueryCheckpointRequest) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointRequest) MarshalTo

func (m *QueryCheckpointRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointRequest) MarshalToSizedBuffer

func (m *QueryCheckpointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointRequest) ProtoMessage

func (*QueryCheckpointRequest) ProtoMessage()

func (*QueryCheckpointRequest) Reset

func (m *QueryCheckpointRequest) Reset()

func (*QueryCheckpointRequest) Size

func (m *QueryCheckpointRequest) Size() (n int)

func (*QueryCheckpointRequest) String

func (m *QueryCheckpointRequest) String() string

func (*QueryCheckpointRequest) Unmarshal

func (m *QueryCheckpointRequest) Unmarshal(dAtA []byte) error

func (*QueryCheckpointRequest) XXX_DiscardUnknown

func (m *QueryCheckpointRequest) XXX_DiscardUnknown()

func (*QueryCheckpointRequest) XXX_Marshal

func (m *QueryCheckpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointRequest) XXX_Merge

func (m *QueryCheckpointRequest) XXX_Merge(src proto.Message)

func (*QueryCheckpointRequest) XXX_Size

func (m *QueryCheckpointRequest) XXX_Size() int

func (*QueryCheckpointRequest) XXX_Unmarshal

func (m *QueryCheckpointRequest) XXX_Unmarshal(b []byte) error

type QueryCheckpointResponse

type QueryCheckpointResponse struct {
	// The requested checkpoint.
	Checkpoint Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint"`
}

QueryCheckpointResponse is the response type for the GetCheckpoint query.

func (*QueryCheckpointResponse) Descriptor

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

func (*QueryCheckpointResponse) GetCheckpoint

func (m *QueryCheckpointResponse) GetCheckpoint() Checkpoint

func (*QueryCheckpointResponse) Marshal

func (m *QueryCheckpointResponse) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointResponse) MarshalTo

func (m *QueryCheckpointResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointResponse) MarshalToSizedBuffer

func (m *QueryCheckpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointResponse) ProtoMessage

func (*QueryCheckpointResponse) ProtoMessage()

func (*QueryCheckpointResponse) Reset

func (m *QueryCheckpointResponse) Reset()

func (*QueryCheckpointResponse) Size

func (m *QueryCheckpointResponse) Size() (n int)

func (*QueryCheckpointResponse) String

func (m *QueryCheckpointResponse) String() string

func (*QueryCheckpointResponse) Unmarshal

func (m *QueryCheckpointResponse) Unmarshal(dAtA []byte) error

func (*QueryCheckpointResponse) XXX_DiscardUnknown

func (m *QueryCheckpointResponse) XXX_DiscardUnknown()

func (*QueryCheckpointResponse) XXX_Marshal

func (m *QueryCheckpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointResponse) XXX_Merge

func (m *QueryCheckpointResponse) XXX_Merge(src proto.Message)

func (*QueryCheckpointResponse) XXX_Size

func (m *QueryCheckpointResponse) XXX_Size() int

func (*QueryCheckpointResponse) XXX_Unmarshal

func (m *QueryCheckpointResponse) XXX_Unmarshal(b []byte) error

type QueryCheckpointSignaturesRequest

type QueryCheckpointSignaturesRequest struct {
	// Transaction hash of the checkpoint to query signatures for.
	TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}

QueryCheckpointSignaturesRequest is the request type for the GetCheckpointSignatures query.

func (*QueryCheckpointSignaturesRequest) Descriptor

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

func (*QueryCheckpointSignaturesRequest) GetTxHash

func (*QueryCheckpointSignaturesRequest) Marshal

func (m *QueryCheckpointSignaturesRequest) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointSignaturesRequest) MarshalTo

func (m *QueryCheckpointSignaturesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointSignaturesRequest) MarshalToSizedBuffer

func (m *QueryCheckpointSignaturesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointSignaturesRequest) ProtoMessage

func (*QueryCheckpointSignaturesRequest) ProtoMessage()

func (*QueryCheckpointSignaturesRequest) Reset

func (*QueryCheckpointSignaturesRequest) Size

func (m *QueryCheckpointSignaturesRequest) Size() (n int)

func (*QueryCheckpointSignaturesRequest) String

func (*QueryCheckpointSignaturesRequest) Unmarshal

func (m *QueryCheckpointSignaturesRequest) Unmarshal(dAtA []byte) error

func (*QueryCheckpointSignaturesRequest) XXX_DiscardUnknown

func (m *QueryCheckpointSignaturesRequest) XXX_DiscardUnknown()

func (*QueryCheckpointSignaturesRequest) XXX_Marshal

func (m *QueryCheckpointSignaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointSignaturesRequest) XXX_Merge

func (*QueryCheckpointSignaturesRequest) XXX_Size

func (m *QueryCheckpointSignaturesRequest) XXX_Size() int

func (*QueryCheckpointSignaturesRequest) XXX_Unmarshal

func (m *QueryCheckpointSignaturesRequest) XXX_Unmarshal(b []byte) error

type QueryCheckpointSignaturesResponse

type QueryCheckpointSignaturesResponse struct {
	// List of validator signatures for the requested checkpoint.
	Signatures []CheckpointSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures"`
}

QueryCheckpointSignaturesResponse is the response type for the GetCheckpointSignatures query.

func (*QueryCheckpointSignaturesResponse) Descriptor

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

func (*QueryCheckpointSignaturesResponse) GetSignatures

func (*QueryCheckpointSignaturesResponse) Marshal

func (m *QueryCheckpointSignaturesResponse) Marshal() (dAtA []byte, err error)

func (*QueryCheckpointSignaturesResponse) MarshalTo

func (m *QueryCheckpointSignaturesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryCheckpointSignaturesResponse) MarshalToSizedBuffer

func (m *QueryCheckpointSignaturesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryCheckpointSignaturesResponse) ProtoMessage

func (*QueryCheckpointSignaturesResponse) ProtoMessage()

func (*QueryCheckpointSignaturesResponse) Reset

func (*QueryCheckpointSignaturesResponse) Size

func (m *QueryCheckpointSignaturesResponse) Size() (n int)

func (*QueryCheckpointSignaturesResponse) String

func (*QueryCheckpointSignaturesResponse) Unmarshal

func (m *QueryCheckpointSignaturesResponse) Unmarshal(dAtA []byte) error

func (*QueryCheckpointSignaturesResponse) XXX_DiscardUnknown

func (m *QueryCheckpointSignaturesResponse) XXX_DiscardUnknown()

func (*QueryCheckpointSignaturesResponse) XXX_Marshal

func (m *QueryCheckpointSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryCheckpointSignaturesResponse) XXX_Merge

func (*QueryCheckpointSignaturesResponse) XXX_Size

func (m *QueryCheckpointSignaturesResponse) XXX_Size() int

func (*QueryCheckpointSignaturesResponse) XXX_Unmarshal

func (m *QueryCheckpointSignaturesResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// GetCheckpointParams queries the checkpoint module parameters.
	GetCheckpointParams(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// GetCheckpointOverview queries an overview of checkpoint status.
	// Returns ack counts, validator set, and buffer checkpoint.
	GetCheckpointOverview(ctx context.Context, in *QueryCheckpointOverviewRequest, opts ...grpc.CallOption) (*QueryCheckpointOverviewResponse, error)
	// GetAckCount queries the total number of checkpoint acknowledgments.
	GetAckCount(ctx context.Context, in *QueryAckCountRequest, opts ...grpc.CallOption) (*QueryAckCountResponse, error)
	// GetCheckpointLatest queries the most recently finalized checkpoint.
	GetCheckpointLatest(ctx context.Context, in *QueryCheckpointLatestRequest, opts ...grpc.CallOption) (*QueryCheckpointLatestResponse, error)
	// GetCheckpointBuffer queries the checkpoint currently in the buffer.
	// The buffer holds a checkpoint while validators submit acks/no-acks.
	GetCheckpointBuffer(ctx context.Context, in *QueryCheckpointBufferRequest, opts ...grpc.CallOption) (*QueryCheckpointBufferResponse, error)
	// GetLastNoAck queries the ID of the last checkpoint that received a no-ack.
	GetLastNoAck(ctx context.Context, in *QueryLastNoAckRequest, opts ...grpc.CallOption) (*QueryLastNoAckResponse, error)
	// GetNextCheckpoint prepares and returns the next checkpoint to be proposed.
	GetNextCheckpoint(ctx context.Context, in *QueryNextCheckpointRequest, opts ...grpc.CallOption) (*QueryNextCheckpointResponse, error)
	// GetCheckpointList queries a paginated list of checkpoints.
	GetCheckpointList(ctx context.Context, in *QueryCheckpointListRequest, opts ...grpc.CallOption) (*QueryCheckpointListResponse, error)
	// GetCheckpointSignatures queries the validator signatures for a checkpoint.
	GetCheckpointSignatures(ctx context.Context, in *QueryCheckpointSignaturesRequest, opts ...grpc.CallOption) (*QueryCheckpointSignaturesResponse, error)
	// GetCheckpoint queries a specific checkpoint by its ID 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryLastNoAckRequest

type QueryLastNoAckRequest struct {
}

QueryLastNoAckRequest is the request type for the GetLastNoAck query.

func (*QueryLastNoAckRequest) Descriptor

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

func (*QueryLastNoAckRequest) Marshal

func (m *QueryLastNoAckRequest) Marshal() (dAtA []byte, err error)

func (*QueryLastNoAckRequest) MarshalTo

func (m *QueryLastNoAckRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastNoAckRequest) MarshalToSizedBuffer

func (m *QueryLastNoAckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastNoAckRequest) ProtoMessage

func (*QueryLastNoAckRequest) ProtoMessage()

func (*QueryLastNoAckRequest) Reset

func (m *QueryLastNoAckRequest) Reset()

func (*QueryLastNoAckRequest) Size

func (m *QueryLastNoAckRequest) Size() (n int)

func (*QueryLastNoAckRequest) String

func (m *QueryLastNoAckRequest) String() string

func (*QueryLastNoAckRequest) Unmarshal

func (m *QueryLastNoAckRequest) Unmarshal(dAtA []byte) error

func (*QueryLastNoAckRequest) XXX_DiscardUnknown

func (m *QueryLastNoAckRequest) XXX_DiscardUnknown()

func (*QueryLastNoAckRequest) XXX_Marshal

func (m *QueryLastNoAckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastNoAckRequest) XXX_Merge

func (m *QueryLastNoAckRequest) XXX_Merge(src proto.Message)

func (*QueryLastNoAckRequest) XXX_Size

func (m *QueryLastNoAckRequest) XXX_Size() int

func (*QueryLastNoAckRequest) XXX_Unmarshal

func (m *QueryLastNoAckRequest) XXX_Unmarshal(b []byte) error

type QueryLastNoAckResponse

type QueryLastNoAckResponse struct {
	// ID of the last checkpoint that received a no-ack.
	LastNoAckId uint64 `protobuf:"varint,1,opt,name=last_no_ack_id,json=lastNoAckId,proto3" json:"last_no_ack_id,omitempty"`
}

QueryLastNoAckResponse is the response type for the GetLastNoAck query.

func (*QueryLastNoAckResponse) Descriptor

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

func (*QueryLastNoAckResponse) GetLastNoAckId

func (m *QueryLastNoAckResponse) GetLastNoAckId() uint64

func (*QueryLastNoAckResponse) Marshal

func (m *QueryLastNoAckResponse) Marshal() (dAtA []byte, err error)

func (*QueryLastNoAckResponse) MarshalTo

func (m *QueryLastNoAckResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryLastNoAckResponse) MarshalToSizedBuffer

func (m *QueryLastNoAckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryLastNoAckResponse) ProtoMessage

func (*QueryLastNoAckResponse) ProtoMessage()

func (*QueryLastNoAckResponse) Reset

func (m *QueryLastNoAckResponse) Reset()

func (*QueryLastNoAckResponse) Size

func (m *QueryLastNoAckResponse) Size() (n int)

func (*QueryLastNoAckResponse) String

func (m *QueryLastNoAckResponse) String() string

func (*QueryLastNoAckResponse) Unmarshal

func (m *QueryLastNoAckResponse) Unmarshal(dAtA []byte) error

func (*QueryLastNoAckResponse) XXX_DiscardUnknown

func (m *QueryLastNoAckResponse) XXX_DiscardUnknown()

func (*QueryLastNoAckResponse) XXX_Marshal

func (m *QueryLastNoAckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryLastNoAckResponse) XXX_Merge

func (m *QueryLastNoAckResponse) XXX_Merge(src proto.Message)

func (*QueryLastNoAckResponse) XXX_Size

func (m *QueryLastNoAckResponse) XXX_Size() int

func (*QueryLastNoAckResponse) XXX_Unmarshal

func (m *QueryLastNoAckResponse) XXX_Unmarshal(b []byte) error

type QueryNextCheckpointRequest

type QueryNextCheckpointRequest struct {
}

QueryNextCheckpointRequest is the request type for the GetNextCheckpoint query.

func (*QueryNextCheckpointRequest) Descriptor

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

func (*QueryNextCheckpointRequest) Marshal

func (m *QueryNextCheckpointRequest) Marshal() (dAtA []byte, err error)

func (*QueryNextCheckpointRequest) MarshalTo

func (m *QueryNextCheckpointRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNextCheckpointRequest) MarshalToSizedBuffer

func (m *QueryNextCheckpointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNextCheckpointRequest) ProtoMessage

func (*QueryNextCheckpointRequest) ProtoMessage()

func (*QueryNextCheckpointRequest) Reset

func (m *QueryNextCheckpointRequest) Reset()

func (*QueryNextCheckpointRequest) Size

func (m *QueryNextCheckpointRequest) Size() (n int)

func (*QueryNextCheckpointRequest) String

func (m *QueryNextCheckpointRequest) String() string

func (*QueryNextCheckpointRequest) Unmarshal

func (m *QueryNextCheckpointRequest) Unmarshal(dAtA []byte) error

func (*QueryNextCheckpointRequest) XXX_DiscardUnknown

func (m *QueryNextCheckpointRequest) XXX_DiscardUnknown()

func (*QueryNextCheckpointRequest) XXX_Marshal

func (m *QueryNextCheckpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNextCheckpointRequest) XXX_Merge

func (m *QueryNextCheckpointRequest) XXX_Merge(src proto.Message)

func (*QueryNextCheckpointRequest) XXX_Size

func (m *QueryNextCheckpointRequest) XXX_Size() int

func (*QueryNextCheckpointRequest) XXX_Unmarshal

func (m *QueryNextCheckpointRequest) XXX_Unmarshal(b []byte) error

type QueryNextCheckpointResponse

type QueryNextCheckpointResponse struct {
	// The prepared next checkpoint ready to be proposed.
	Checkpoint MsgCheckpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint"`
}

QueryNextCheckpointResponse is the response type for the GetNextCheckpoint query.

func (*QueryNextCheckpointResponse) Descriptor

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

func (*QueryNextCheckpointResponse) GetCheckpoint

func (m *QueryNextCheckpointResponse) GetCheckpoint() MsgCheckpoint

func (*QueryNextCheckpointResponse) Marshal

func (m *QueryNextCheckpointResponse) Marshal() (dAtA []byte, err error)

func (*QueryNextCheckpointResponse) MarshalTo

func (m *QueryNextCheckpointResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryNextCheckpointResponse) MarshalToSizedBuffer

func (m *QueryNextCheckpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNextCheckpointResponse) ProtoMessage

func (*QueryNextCheckpointResponse) ProtoMessage()

func (*QueryNextCheckpointResponse) Reset

func (m *QueryNextCheckpointResponse) Reset()

func (*QueryNextCheckpointResponse) Size

func (m *QueryNextCheckpointResponse) Size() (n int)

func (*QueryNextCheckpointResponse) String

func (m *QueryNextCheckpointResponse) String() string

func (*QueryNextCheckpointResponse) Unmarshal

func (m *QueryNextCheckpointResponse) Unmarshal(dAtA []byte) error

func (*QueryNextCheckpointResponse) XXX_DiscardUnknown

func (m *QueryNextCheckpointResponse) XXX_DiscardUnknown()

func (*QueryNextCheckpointResponse) XXX_Marshal

func (m *QueryNextCheckpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNextCheckpointResponse) XXX_Merge

func (m *QueryNextCheckpointResponse) XXX_Merge(src proto.Message)

func (*QueryNextCheckpointResponse) XXX_Size

func (m *QueryNextCheckpointResponse) XXX_Size() int

func (*QueryNextCheckpointResponse) XXX_Unmarshal

func (m *QueryNextCheckpointResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is the request type for the GetCheckpointParams query.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// Current checkpoint module parameters.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is the response type for the GetCheckpointParams query.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// GetCheckpointParams queries the checkpoint module parameters.
	GetCheckpointParams(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// GetCheckpointOverview queries an overview of checkpoint status.
	// Returns ack counts, validator set, and buffer checkpoint.
	GetCheckpointOverview(context.Context, *QueryCheckpointOverviewRequest) (*QueryCheckpointOverviewResponse, error)
	// GetAckCount queries the total number of checkpoint acknowledgments.
	GetAckCount(context.Context, *QueryAckCountRequest) (*QueryAckCountResponse, error)
	// GetCheckpointLatest queries the most recently finalized checkpoint.
	GetCheckpointLatest(context.Context, *QueryCheckpointLatestRequest) (*QueryCheckpointLatestResponse, error)
	// GetCheckpointBuffer queries the checkpoint currently in the buffer.
	// The buffer holds a checkpoint while validators submit acks/no-acks.
	GetCheckpointBuffer(context.Context, *QueryCheckpointBufferRequest) (*QueryCheckpointBufferResponse, error)
	// GetLastNoAck queries the ID of the last checkpoint that received a no-ack.
	GetLastNoAck(context.Context, *QueryLastNoAckRequest) (*QueryLastNoAckResponse, error)
	// GetNextCheckpoint prepares and returns the next checkpoint to be proposed.
	GetNextCheckpoint(context.Context, *QueryNextCheckpointRequest) (*QueryNextCheckpointResponse, error)
	// GetCheckpointList queries a paginated list of checkpoints.
	GetCheckpointList(context.Context, *QueryCheckpointListRequest) (*QueryCheckpointListResponse, error)
	// GetCheckpointSignatures queries the validator signatures for a checkpoint.
	GetCheckpointSignatures(context.Context, *QueryCheckpointSignaturesRequest) (*QueryCheckpointSignaturesResponse, error)
	// GetCheckpoint queries a specific checkpoint by its ID number.
	GetCheckpoint(context.Context, *QueryCheckpointRequest) (*QueryCheckpointResponse, error)
}

QueryServer is the server API for Query service.

type StakeKeeper

type StakeKeeper interface {
	GetValidatorSet(ctx context.Context) (validatorSet stakeTypes.ValidatorSet, err error)
	GetCurrentProposer(ctx context.Context) *stakeTypes.Validator
	IncrementAccum(ctx context.Context, times int) error
}

type TopupKeeper

type TopupKeeper interface {
	GetAllDividendAccounts(ctx context.Context) ([]hmTypes.DividendAccount, error)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) Checkpoint

func (*UnimplementedMsgServer) CheckpointAck

func (*UnimplementedMsgServer) CheckpointAck(ctx context.Context, req *MsgCpAck) (*MsgCpAckResponse, error)

func (*UnimplementedMsgServer) CheckpointNoAck

func (*UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GetAckCount

func (*UnimplementedQueryServer) GetCheckpoint

func (*UnimplementedQueryServer) GetCheckpointBuffer

func (*UnimplementedQueryServer) GetCheckpointLatest

func (*UnimplementedQueryServer) GetCheckpointList

func (*UnimplementedQueryServer) GetCheckpointOverview

func (*UnimplementedQueryServer) GetCheckpointParams

func (*UnimplementedQueryServer) GetCheckpointSignatures

func (*UnimplementedQueryServer) GetLastNoAck

func (*UnimplementedQueryServer) GetNextCheckpoint

Jump to

Keyboard shortcuts

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