Documentation
¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func IsCheckpointMsg(msg proto.Message) bool
- func IsValidCheckpoint(start uint64, end uint64, rootHash []byte, checkpointLength uint64, ...) (bool, error)
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RegisterSideMsgServer(sideCfg sidetxs.SideTxConfigurator, srv sidetxs.SideMsgServer)
- type ChainManagerKeeper
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)
- func (this *Checkpoint) Equal(that interface{}) bool
- func (m *Checkpoint) GetBorChainId() string
- func (m *Checkpoint) GetEndBlock() uint64
- func (m *Checkpoint) GetId() uint64
- func (m *Checkpoint) GetProposer() string
- func (m *Checkpoint) GetRootHash() []byte
- func (m *Checkpoint) GetStartBlock() uint64
- func (m *Checkpoint) GetTimestamp() uint64
- func (m *Checkpoint) Marshal() (dAtA []byte, err error)
- func (m *Checkpoint) MarshalTo(dAtA []byte) (int, error)
- func (m *Checkpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Checkpoint) ProtoMessage()
- func (m *Checkpoint) Reset()
- func (m *Checkpoint) Size() (n int)
- func (m *Checkpoint) String() string
- func (m *Checkpoint) Unmarshal(dAtA []byte) error
- func (m *Checkpoint) XXX_DiscardUnknown()
- func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Checkpoint) XXX_Merge(src proto.Message)
- func (m *Checkpoint) XXX_Size() int
- func (m *Checkpoint) XXX_Unmarshal(b []byte) error
- type CheckpointSignature
- func (*CheckpointSignature) Descriptor() ([]byte, []int)
- func (m *CheckpointSignature) GetSignature() []byte
- func (m *CheckpointSignature) GetValidatorAddress() []byte
- func (m *CheckpointSignature) Marshal() (dAtA []byte, err error)
- func (m *CheckpointSignature) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckpointSignature) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckpointSignature) ProtoMessage()
- func (m *CheckpointSignature) Reset()
- func (m *CheckpointSignature) Size() (n int)
- func (m *CheckpointSignature) String() string
- func (m *CheckpointSignature) Unmarshal(dAtA []byte) error
- func (m *CheckpointSignature) XXX_DiscardUnknown()
- func (m *CheckpointSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckpointSignature) XXX_Merge(src proto.Message)
- func (m *CheckpointSignature) XXX_Size() int
- func (m *CheckpointSignature) XXX_Unmarshal(b []byte) error
- type CheckpointSignatures
- func (*CheckpointSignatures) Descriptor() ([]byte, []int)
- func (m *CheckpointSignatures) GetSignatures() []CheckpointSignature
- func (m *CheckpointSignatures) Marshal() (dAtA []byte, err error)
- func (m *CheckpointSignatures) MarshalTo(dAtA []byte) (int, error)
- func (m *CheckpointSignatures) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CheckpointSignatures) ProtoMessage()
- func (m *CheckpointSignatures) Reset()
- func (m *CheckpointSignatures) Size() (n int)
- func (m *CheckpointSignatures) String() string
- func (m *CheckpointSignatures) Unmarshal(dAtA []byte) error
- func (m *CheckpointSignatures) XXX_DiscardUnknown()
- func (m *CheckpointSignatures) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckpointSignatures) XXX_Merge(src proto.Message)
- func (m *CheckpointSignatures) XXX_Size() int
- func (m *CheckpointSignatures) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetAckCount() uint64
- func (m *GenesisState) GetBufferedCheckpoint() *Checkpoint
- func (m *GenesisState) GetCheckpoints() []Checkpoint
- func (m *GenesisState) GetLastNoAck() uint64
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) ValidateGenesis() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgCheckpoint
- func (*MsgCheckpoint) Descriptor() ([]byte, []int)
- func (this *MsgCheckpoint) Equal(that interface{}) bool
- func (m *MsgCheckpoint) GetAccountRootHash() []byte
- func (m *MsgCheckpoint) GetBorChainId() string
- func (m *MsgCheckpoint) GetEndBlock() uint64
- func (m *MsgCheckpoint) GetProposer() string
- func (m *MsgCheckpoint) GetRootHash() []byte
- func (msg MsgCheckpoint) GetSideSignBytes() []byte
- func (m *MsgCheckpoint) GetStartBlock() uint64
- func (m *MsgCheckpoint) Marshal() (dAtA []byte, err error)
- func (m *MsgCheckpoint) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCheckpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCheckpoint) ProtoMessage()
- func (m *MsgCheckpoint) Reset()
- func (m *MsgCheckpoint) Size() (n int)
- func (m *MsgCheckpoint) String() string
- func (m *MsgCheckpoint) Unmarshal(dAtA []byte) error
- func (msg MsgCheckpoint) ValidateBasic(ac address.Codec) error
- func (m *MsgCheckpoint) XXX_DiscardUnknown()
- func (m *MsgCheckpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCheckpoint) XXX_Merge(src proto.Message)
- func (m *MsgCheckpoint) XXX_Size() int
- func (m *MsgCheckpoint) XXX_Unmarshal(b []byte) error
- type MsgCheckpointNoAckResponse
- func (*MsgCheckpointNoAckResponse) Descriptor() ([]byte, []int)
- func (m *MsgCheckpointNoAckResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCheckpointNoAckResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCheckpointNoAckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCheckpointNoAckResponse) ProtoMessage()
- func (m *MsgCheckpointNoAckResponse) Reset()
- func (m *MsgCheckpointNoAckResponse) Size() (n int)
- func (m *MsgCheckpointNoAckResponse) String() string
- func (m *MsgCheckpointNoAckResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCheckpointNoAckResponse) XXX_DiscardUnknown()
- func (m *MsgCheckpointNoAckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCheckpointNoAckResponse) XXX_Merge(src proto.Message)
- func (m *MsgCheckpointNoAckResponse) XXX_Size() int
- func (m *MsgCheckpointNoAckResponse) XXX_Unmarshal(b []byte) error
- type MsgCheckpointResponse
- func (*MsgCheckpointResponse) Descriptor() ([]byte, []int)
- func (m *MsgCheckpointResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCheckpointResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCheckpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCheckpointResponse) ProtoMessage()
- func (m *MsgCheckpointResponse) Reset()
- func (m *MsgCheckpointResponse) Size() (n int)
- func (m *MsgCheckpointResponse) String() string
- func (m *MsgCheckpointResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCheckpointResponse) XXX_DiscardUnknown()
- func (m *MsgCheckpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCheckpointResponse) XXX_Merge(src proto.Message)
- func (m *MsgCheckpointResponse) XXX_Size() int
- func (m *MsgCheckpointResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCpAck
- func (*MsgCpAck) Descriptor() ([]byte, []int)
- func (m *MsgCpAck) GetEndBlock() uint64
- func (m *MsgCpAck) GetFrom() string
- func (m *MsgCpAck) GetLogIndex() uint64
- func (m *MsgCpAck) GetNumber() uint64
- func (m *MsgCpAck) GetProposer() string
- func (m *MsgCpAck) GetRootHash() []byte
- func (msg MsgCpAck) GetSideSignBytes() []byte
- func (m *MsgCpAck) GetStartBlock() uint64
- func (m *MsgCpAck) GetTxHash() []byte
- func (m *MsgCpAck) Marshal() (dAtA []byte, err error)
- func (m *MsgCpAck) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCpAck) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCpAck) ProtoMessage()
- func (m *MsgCpAck) Reset()
- func (m *MsgCpAck) Size() (n int)
- func (m *MsgCpAck) String() string
- func (m *MsgCpAck) Unmarshal(dAtA []byte) error
- func (msg MsgCpAck) ValidateBasic(ac address.Codec) error
- func (m *MsgCpAck) XXX_DiscardUnknown()
- func (m *MsgCpAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCpAck) XXX_Merge(src proto.Message)
- func (m *MsgCpAck) XXX_Size() int
- func (m *MsgCpAck) XXX_Unmarshal(b []byte) error
- type MsgCpAckResponse
- func (*MsgCpAckResponse) Descriptor() ([]byte, []int)
- func (m *MsgCpAckResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCpAckResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCpAckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCpAckResponse) ProtoMessage()
- func (m *MsgCpAckResponse) Reset()
- func (m *MsgCpAckResponse) Size() (n int)
- func (m *MsgCpAckResponse) String() string
- func (m *MsgCpAckResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCpAckResponse) XXX_DiscardUnknown()
- func (m *MsgCpAckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCpAckResponse) XXX_Merge(src proto.Message)
- func (m *MsgCpAckResponse) XXX_Size() int
- func (m *MsgCpAckResponse) XXX_Unmarshal(b []byte) error
- type MsgCpNoAck
- func (*MsgCpNoAck) Descriptor() ([]byte, []int)
- func (m *MsgCpNoAck) GetFrom() string
- func (m *MsgCpNoAck) Marshal() (dAtA []byte, err error)
- func (m *MsgCpNoAck) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCpNoAck) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCpNoAck) ProtoMessage()
- func (m *MsgCpNoAck) Reset()
- func (m *MsgCpNoAck) Size() (n int)
- func (m *MsgCpNoAck) String() string
- func (m *MsgCpNoAck) Unmarshal(dAtA []byte) error
- func (msg MsgCpNoAck) ValidateBasic(ac address.Codec) error
- func (m *MsgCpNoAck) XXX_DiscardUnknown()
- func (m *MsgCpNoAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCpNoAck) XXX_Merge(src proto.Message)
- func (m *MsgCpNoAck) XXX_Size() int
- func (m *MsgCpNoAck) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) GetAvgCheckpointLength() uint64
- func (m *Params) GetCheckpointBufferTime() time.Duration
- func (m *Params) GetChildChainBlockInterval() uint64
- func (m *Params) GetMaxCheckpointLength() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAckCountRequest
- func (*QueryAckCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryAckCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAckCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAckCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAckCountRequest) ProtoMessage()
- func (m *QueryAckCountRequest) Reset()
- func (m *QueryAckCountRequest) Size() (n int)
- func (m *QueryAckCountRequest) String() string
- func (m *QueryAckCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAckCountRequest) XXX_DiscardUnknown()
- func (m *QueryAckCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAckCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryAckCountRequest) XXX_Size() int
- func (m *QueryAckCountRequest) XXX_Unmarshal(b []byte) error
- type QueryAckCountResponse
- func (*QueryAckCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryAckCountResponse) GetAckCount() uint64
- func (m *QueryAckCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAckCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAckCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAckCountResponse) ProtoMessage()
- func (m *QueryAckCountResponse) Reset()
- func (m *QueryAckCountResponse) Size() (n int)
- func (m *QueryAckCountResponse) String() string
- func (m *QueryAckCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAckCountResponse) XXX_DiscardUnknown()
- func (m *QueryAckCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAckCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryAckCountResponse) XXX_Size() int
- func (m *QueryAckCountResponse) XXX_Unmarshal(b []byte) error
- type QueryCheckpointBufferRequest
- func (*QueryCheckpointBufferRequest) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointBufferRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointBufferRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointBufferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointBufferRequest) ProtoMessage()
- func (m *QueryCheckpointBufferRequest) Reset()
- func (m *QueryCheckpointBufferRequest) Size() (n int)
- func (m *QueryCheckpointBufferRequest) String() string
- func (m *QueryCheckpointBufferRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointBufferRequest) XXX_DiscardUnknown()
- func (m *QueryCheckpointBufferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointBufferRequest) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointBufferRequest) XXX_Size() int
- func (m *QueryCheckpointBufferRequest) XXX_Unmarshal(b []byte) error
- type QueryCheckpointBufferResponse
- func (*QueryCheckpointBufferResponse) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointBufferResponse) GetCheckpoint() Checkpoint
- func (m *QueryCheckpointBufferResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointBufferResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointBufferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointBufferResponse) ProtoMessage()
- func (m *QueryCheckpointBufferResponse) Reset()
- func (m *QueryCheckpointBufferResponse) Size() (n int)
- func (m *QueryCheckpointBufferResponse) String() string
- func (m *QueryCheckpointBufferResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointBufferResponse) XXX_DiscardUnknown()
- func (m *QueryCheckpointBufferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointBufferResponse) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointBufferResponse) XXX_Size() int
- func (m *QueryCheckpointBufferResponse) XXX_Unmarshal(b []byte) error
- type QueryCheckpointLatestRequest
- func (*QueryCheckpointLatestRequest) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointLatestRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointLatestRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointLatestRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointLatestRequest) ProtoMessage()
- func (m *QueryCheckpointLatestRequest) Reset()
- func (m *QueryCheckpointLatestRequest) Size() (n int)
- func (m *QueryCheckpointLatestRequest) String() string
- func (m *QueryCheckpointLatestRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointLatestRequest) XXX_DiscardUnknown()
- func (m *QueryCheckpointLatestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointLatestRequest) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointLatestRequest) XXX_Size() int
- func (m *QueryCheckpointLatestRequest) XXX_Unmarshal(b []byte) error
- type QueryCheckpointLatestResponse
- func (*QueryCheckpointLatestResponse) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointLatestResponse) GetCheckpoint() Checkpoint
- func (m *QueryCheckpointLatestResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointLatestResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointLatestResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointLatestResponse) ProtoMessage()
- func (m *QueryCheckpointLatestResponse) Reset()
- func (m *QueryCheckpointLatestResponse) Size() (n int)
- func (m *QueryCheckpointLatestResponse) String() string
- func (m *QueryCheckpointLatestResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointLatestResponse) XXX_DiscardUnknown()
- func (m *QueryCheckpointLatestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointLatestResponse) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointLatestResponse) XXX_Size() int
- func (m *QueryCheckpointLatestResponse) XXX_Unmarshal(b []byte) error
- type QueryCheckpointListRequest
- func (*QueryCheckpointListRequest) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointListRequest) GetPagination() query.PageRequest
- func (m *QueryCheckpointListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointListRequest) ProtoMessage()
- func (m *QueryCheckpointListRequest) Reset()
- func (m *QueryCheckpointListRequest) Size() (n int)
- func (m *QueryCheckpointListRequest) String() string
- func (m *QueryCheckpointListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointListRequest) XXX_DiscardUnknown()
- func (m *QueryCheckpointListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointListRequest) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointListRequest) XXX_Size() int
- func (m *QueryCheckpointListRequest) XXX_Unmarshal(b []byte) error
- type QueryCheckpointListResponse
- func (*QueryCheckpointListResponse) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointListResponse) GetCheckpointList() []Checkpoint
- func (m *QueryCheckpointListResponse) GetPagination() query.PageResponse
- func (m *QueryCheckpointListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointListResponse) ProtoMessage()
- func (m *QueryCheckpointListResponse) Reset()
- func (m *QueryCheckpointListResponse) Size() (n int)
- func (m *QueryCheckpointListResponse) String() string
- func (m *QueryCheckpointListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointListResponse) XXX_DiscardUnknown()
- func (m *QueryCheckpointListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointListResponse) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointListResponse) XXX_Size() int
- func (m *QueryCheckpointListResponse) XXX_Unmarshal(b []byte) error
- type QueryCheckpointOverviewRequest
- func (*QueryCheckpointOverviewRequest) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointOverviewRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointOverviewRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointOverviewRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointOverviewRequest) ProtoMessage()
- func (m *QueryCheckpointOverviewRequest) Reset()
- func (m *QueryCheckpointOverviewRequest) Size() (n int)
- func (m *QueryCheckpointOverviewRequest) String() string
- func (m *QueryCheckpointOverviewRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointOverviewRequest) XXX_DiscardUnknown()
- func (m *QueryCheckpointOverviewRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointOverviewRequest) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointOverviewRequest) XXX_Size() int
- func (m *QueryCheckpointOverviewRequest) XXX_Unmarshal(b []byte) error
- type QueryCheckpointOverviewResponse
- func (*QueryCheckpointOverviewResponse) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointOverviewResponse) GetAckCount() uint64
- func (m *QueryCheckpointOverviewResponse) GetBufferCheckpoint() Checkpoint
- func (m *QueryCheckpointOverviewResponse) GetLastNoAckId() uint64
- func (m *QueryCheckpointOverviewResponse) GetValidatorCount() uint64
- func (m *QueryCheckpointOverviewResponse) GetValidatorSet() types.ValidatorSet
- func (m *QueryCheckpointOverviewResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointOverviewResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointOverviewResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointOverviewResponse) ProtoMessage()
- func (m *QueryCheckpointOverviewResponse) Reset()
- func (m *QueryCheckpointOverviewResponse) Size() (n int)
- func (m *QueryCheckpointOverviewResponse) String() string
- func (m *QueryCheckpointOverviewResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointOverviewResponse) XXX_DiscardUnknown()
- func (m *QueryCheckpointOverviewResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointOverviewResponse) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointOverviewResponse) XXX_Size() int
- func (m *QueryCheckpointOverviewResponse) XXX_Unmarshal(b []byte) error
- type QueryCheckpointRequest
- func (*QueryCheckpointRequest) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointRequest) GetNumber() uint64
- func (m *QueryCheckpointRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointRequest) ProtoMessage()
- func (m *QueryCheckpointRequest) Reset()
- func (m *QueryCheckpointRequest) Size() (n int)
- func (m *QueryCheckpointRequest) String() string
- func (m *QueryCheckpointRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointRequest) XXX_DiscardUnknown()
- func (m *QueryCheckpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointRequest) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointRequest) XXX_Size() int
- func (m *QueryCheckpointRequest) XXX_Unmarshal(b []byte) error
- type QueryCheckpointResponse
- func (*QueryCheckpointResponse) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointResponse) GetCheckpoint() Checkpoint
- func (m *QueryCheckpointResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointResponse) ProtoMessage()
- func (m *QueryCheckpointResponse) Reset()
- func (m *QueryCheckpointResponse) Size() (n int)
- func (m *QueryCheckpointResponse) String() string
- func (m *QueryCheckpointResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointResponse) XXX_DiscardUnknown()
- func (m *QueryCheckpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointResponse) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointResponse) XXX_Size() int
- func (m *QueryCheckpointResponse) XXX_Unmarshal(b []byte) error
- type QueryCheckpointSignaturesRequest
- func (*QueryCheckpointSignaturesRequest) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointSignaturesRequest) GetTxHash() string
- func (m *QueryCheckpointSignaturesRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointSignaturesRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointSignaturesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointSignaturesRequest) ProtoMessage()
- func (m *QueryCheckpointSignaturesRequest) Reset()
- func (m *QueryCheckpointSignaturesRequest) Size() (n int)
- func (m *QueryCheckpointSignaturesRequest) String() string
- func (m *QueryCheckpointSignaturesRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointSignaturesRequest) XXX_DiscardUnknown()
- func (m *QueryCheckpointSignaturesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointSignaturesRequest) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointSignaturesRequest) XXX_Size() int
- func (m *QueryCheckpointSignaturesRequest) XXX_Unmarshal(b []byte) error
- type QueryCheckpointSignaturesResponse
- func (*QueryCheckpointSignaturesResponse) Descriptor() ([]byte, []int)
- func (m *QueryCheckpointSignaturesResponse) GetSignatures() []CheckpointSignature
- func (m *QueryCheckpointSignaturesResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCheckpointSignaturesResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCheckpointSignaturesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCheckpointSignaturesResponse) ProtoMessage()
- func (m *QueryCheckpointSignaturesResponse) Reset()
- func (m *QueryCheckpointSignaturesResponse) Size() (n int)
- func (m *QueryCheckpointSignaturesResponse) String() string
- func (m *QueryCheckpointSignaturesResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCheckpointSignaturesResponse) XXX_DiscardUnknown()
- func (m *QueryCheckpointSignaturesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCheckpointSignaturesResponse) XXX_Merge(src proto.Message)
- func (m *QueryCheckpointSignaturesResponse) XXX_Size() int
- func (m *QueryCheckpointSignaturesResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryCurrentProposerRequest
- func (*QueryCurrentProposerRequest) Descriptor() ([]byte, []int)
- func (m *QueryCurrentProposerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentProposerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentProposerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentProposerRequest) ProtoMessage()
- func (m *QueryCurrentProposerRequest) Reset()
- func (m *QueryCurrentProposerRequest) Size() (n int)
- func (m *QueryCurrentProposerRequest) String() string
- func (m *QueryCurrentProposerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentProposerRequest) XXX_DiscardUnknown()
- func (m *QueryCurrentProposerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentProposerRequest) XXX_Merge(src proto.Message)
- func (m *QueryCurrentProposerRequest) XXX_Size() int
- func (m *QueryCurrentProposerRequest) XXX_Unmarshal(b []byte) error
- type QueryCurrentProposerResponse
- func (*QueryCurrentProposerResponse) Descriptor() ([]byte, []int)
- func (m *QueryCurrentProposerResponse) GetValidator() types.Validator
- func (m *QueryCurrentProposerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryCurrentProposerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryCurrentProposerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryCurrentProposerResponse) ProtoMessage()
- func (m *QueryCurrentProposerResponse) Reset()
- func (m *QueryCurrentProposerResponse) Size() (n int)
- func (m *QueryCurrentProposerResponse) String() string
- func (m *QueryCurrentProposerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryCurrentProposerResponse) XXX_DiscardUnknown()
- func (m *QueryCurrentProposerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryCurrentProposerResponse) XXX_Merge(src proto.Message)
- func (m *QueryCurrentProposerResponse) XXX_Size() int
- func (m *QueryCurrentProposerResponse) XXX_Unmarshal(b []byte) error
- type QueryLastNoAckRequest
- func (*QueryLastNoAckRequest) Descriptor() ([]byte, []int)
- func (m *QueryLastNoAckRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryLastNoAckRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastNoAckRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastNoAckRequest) ProtoMessage()
- func (m *QueryLastNoAckRequest) Reset()
- func (m *QueryLastNoAckRequest) Size() (n int)
- func (m *QueryLastNoAckRequest) String() string
- func (m *QueryLastNoAckRequest) Unmarshal(dAtA []byte) error
- func (m *QueryLastNoAckRequest) XXX_DiscardUnknown()
- func (m *QueryLastNoAckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastNoAckRequest) XXX_Merge(src proto.Message)
- func (m *QueryLastNoAckRequest) XXX_Size() int
- func (m *QueryLastNoAckRequest) XXX_Unmarshal(b []byte) error
- type QueryLastNoAckResponse
- func (*QueryLastNoAckResponse) Descriptor() ([]byte, []int)
- func (m *QueryLastNoAckResponse) GetLastNoAckId() uint64
- func (m *QueryLastNoAckResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryLastNoAckResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryLastNoAckResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryLastNoAckResponse) ProtoMessage()
- func (m *QueryLastNoAckResponse) Reset()
- func (m *QueryLastNoAckResponse) Size() (n int)
- func (m *QueryLastNoAckResponse) String() string
- func (m *QueryLastNoAckResponse) Unmarshal(dAtA []byte) error
- func (m *QueryLastNoAckResponse) XXX_DiscardUnknown()
- func (m *QueryLastNoAckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryLastNoAckResponse) XXX_Merge(src proto.Message)
- func (m *QueryLastNoAckResponse) XXX_Size() int
- func (m *QueryLastNoAckResponse) XXX_Unmarshal(b []byte) error
- type QueryNextCheckpointRequest
- func (*QueryNextCheckpointRequest) Descriptor() ([]byte, []int)
- func (m *QueryNextCheckpointRequest) GetBorChainId() string
- func (m *QueryNextCheckpointRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryNextCheckpointRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNextCheckpointRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNextCheckpointRequest) ProtoMessage()
- func (m *QueryNextCheckpointRequest) Reset()
- func (m *QueryNextCheckpointRequest) Size() (n int)
- func (m *QueryNextCheckpointRequest) String() string
- func (m *QueryNextCheckpointRequest) Unmarshal(dAtA []byte) error
- func (m *QueryNextCheckpointRequest) XXX_DiscardUnknown()
- func (m *QueryNextCheckpointRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNextCheckpointRequest) XXX_Merge(src proto.Message)
- func (m *QueryNextCheckpointRequest) XXX_Size() int
- func (m *QueryNextCheckpointRequest) XXX_Unmarshal(b []byte) error
- type QueryNextCheckpointResponse
- func (*QueryNextCheckpointResponse) Descriptor() ([]byte, []int)
- func (m *QueryNextCheckpointResponse) GetCheckpoint() MsgCheckpoint
- func (m *QueryNextCheckpointResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryNextCheckpointResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryNextCheckpointResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryNextCheckpointResponse) ProtoMessage()
- func (m *QueryNextCheckpointResponse) Reset()
- func (m *QueryNextCheckpointResponse) Size() (n int)
- func (m *QueryNextCheckpointResponse) String() string
- func (m *QueryNextCheckpointResponse) Unmarshal(dAtA []byte) error
- func (m *QueryNextCheckpointResponse) XXX_DiscardUnknown()
- func (m *QueryNextCheckpointResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryNextCheckpointResponse) XXX_Merge(src proto.Message)
- func (m *QueryNextCheckpointResponse) XXX_Size() int
- func (m *QueryNextCheckpointResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryProposerRequest
- func (*QueryProposerRequest) Descriptor() ([]byte, []int)
- func (m *QueryProposerRequest) GetTimes() uint64
- func (m *QueryProposerRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProposerRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposerRequest) ProtoMessage()
- func (m *QueryProposerRequest) Reset()
- func (m *QueryProposerRequest) Size() (n int)
- func (m *QueryProposerRequest) String() string
- func (m *QueryProposerRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProposerRequest) XXX_DiscardUnknown()
- func (m *QueryProposerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposerRequest) XXX_Merge(src proto.Message)
- func (m *QueryProposerRequest) XXX_Size() int
- func (m *QueryProposerRequest) XXX_Unmarshal(b []byte) error
- type QueryProposerResponse
- func (*QueryProposerResponse) Descriptor() ([]byte, []int)
- func (m *QueryProposerResponse) GetProposers() []types.Validator
- func (m *QueryProposerResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProposerResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposerResponse) ProtoMessage()
- func (m *QueryProposerResponse) Reset()
- func (m *QueryProposerResponse) Size() (n int)
- func (m *QueryProposerResponse) String() string
- func (m *QueryProposerResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProposerResponse) XXX_DiscardUnknown()
- func (m *QueryProposerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposerResponse) XXX_Merge(src proto.Message)
- func (m *QueryProposerResponse) XXX_Size() int
- func (m *QueryProposerResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type StakeKeeper
- type TopupKeeper
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) Checkpoint(ctx context.Context, req *MsgCheckpoint) (*MsgCheckpointResponse, error)
- func (*UnimplementedMsgServer) CheckpointAck(ctx context.Context, req *MsgCpAck) (*MsgCpAckResponse, error)
- func (*UnimplementedMsgServer) CheckpointNoAck(ctx context.Context, req *MsgCpNoAck) (*MsgCheckpointNoAckResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GetAckCount(ctx context.Context, req *QueryAckCountRequest) (*QueryAckCountResponse, error)
- func (*UnimplementedQueryServer) GetCheckpoint(ctx context.Context, req *QueryCheckpointRequest) (*QueryCheckpointResponse, error)
- func (*UnimplementedQueryServer) GetCheckpointBuffer(ctx context.Context, req *QueryCheckpointBufferRequest) (*QueryCheckpointBufferResponse, error)
- func (*UnimplementedQueryServer) GetCheckpointLatest(ctx context.Context, req *QueryCheckpointLatestRequest) (*QueryCheckpointLatestResponse, error)
- func (*UnimplementedQueryServer) GetCheckpointList(ctx context.Context, req *QueryCheckpointListRequest) (*QueryCheckpointListResponse, error)
- func (*UnimplementedQueryServer) GetCheckpointOverview(ctx context.Context, req *QueryCheckpointOverviewRequest) (*QueryCheckpointOverviewResponse, error)
- func (*UnimplementedQueryServer) GetCheckpointParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) GetCheckpointSignatures(ctx context.Context, req *QueryCheckpointSignaturesRequest) (*QueryCheckpointSignaturesResponse, error)
- func (*UnimplementedQueryServer) GetCurrentProposer(ctx context.Context, req *QueryCurrentProposerRequest) (*QueryCurrentProposerResponse, error)
- func (*UnimplementedQueryServer) GetLastNoAck(ctx context.Context, req *QueryLastNoAckRequest) (*QueryLastNoAckResponse, error)
- func (*UnimplementedQueryServer) GetNextCheckpoint(ctx context.Context, req *QueryNextCheckpointRequest) (*QueryNextCheckpointResponse, error)
- func (*UnimplementedQueryServer) GetProposers(ctx context.Context, req *QueryProposerRequest) (*QueryProposerResponse, error)
Constants ¶
const ( // DefaultCheckpointBufferTime represents the time a checkpoint is allowed to stay in the buffer (1000s ~ 17m) DefaultCheckpointBufferTime = 1000 * time.Second DefaultAvgCheckpointLength uint64 = 256 DefaultMaxCheckpointLength uint64 = 1024 DefaultChildChainBlockInterval uint64 = 10000 )
Default parameter values
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 ¶
var ( ErrInvalidLengthCheckpoint = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCheckpoint = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCheckpoint = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthCheckpointSignatures = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCheckpointSignatures = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCheckpointSignatures = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidMsg = errorsmod.Register(ModuleName, 2, "invalid message") ErrNoCheckpointFound = errorsmod.Register(ModuleName, 4, "checkpoint not found") ErrOldCheckpoint = errorsmod.Register(ModuleName, 6, "checkpoint already received for given start and end blocks") 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-acks") 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") )
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
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
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 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}) )
Functions ¶
func IsCheckpointMsg ¶
func IsValidCheckpoint ¶
func IsValidCheckpoint(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 RegisterQueryHandler ¶
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 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"` }
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 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) 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 { 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"` }
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 {
Signatures []CheckpointSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures"`
}
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 { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` 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"` }
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState gets the raw genesis raw 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) 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) 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) ValidateGenesis ¶
func (gs GenesisState) ValidateGenesis() error
ValidateGenesis 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 { 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"` }
func NewMsgCheckpointBlock ¶
func NewMsgCheckpointBlock( proposer string, startBlock uint64, endBlock uint64, rootHash []byte, accountRootHash []byte, borChainID string, ) *MsgCheckpoint
NewMsgCheckpointBlock creates new checkpoint message using 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) 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(ac address.Codec) 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 { }
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 { }
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 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) 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"` }
func NewMsgCpAck ¶
func (*MsgCpAck) Descriptor ¶
func (*MsgCpAck) GetEndBlock ¶
func (*MsgCpAck) GetLogIndex ¶
func (*MsgCpAck) GetProposer ¶
func (*MsgCpAck) GetRootHash ¶
func (MsgCpAck) GetSideSignBytes ¶
GetSideSignBytes returns side sign bytes
func (*MsgCpAck) GetStartBlock ¶
func (*MsgCpAck) MarshalToSizedBuffer ¶
func (*MsgCpAck) ProtoMessage ¶
func (*MsgCpAck) ProtoMessage()
func (MsgCpAck) ValidateBasic ¶
ValidateBasic validate basic
func (*MsgCpAck) XXX_DiscardUnknown ¶
func (m *MsgCpAck) XXX_DiscardUnknown()
func (*MsgCpAck) XXX_Marshal ¶
func (*MsgCpAck) XXX_Unmarshal ¶
type MsgCpAckResponse ¶
type MsgCpAckResponse struct { }
func (*MsgCpAckResponse) Descriptor ¶
func (*MsgCpAckResponse) Descriptor() ([]byte, []int)
func (*MsgCpAckResponse) Marshal ¶
func (m *MsgCpAckResponse) Marshal() (dAtA []byte, err 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 {
From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
}
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) 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(ac address.Codec) 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 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) }
MsgServer is the server API for Msg service.
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"` }
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) 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 { }
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 { CheckpointBufferTime time.Duration `protobuf:"bytes,1,opt,name=checkpoint_buffer_time,json=checkpointBufferTime,proto3,stdduration" json:"checkpoint_buffer_time"` 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 */ }
func (*Params) Descriptor ¶
func (*Params) GetAvgCheckpointLength ¶
func (*Params) GetCheckpointBufferTime ¶
func (*Params) GetChildChainBlockInterval ¶
func (*Params) GetMaxCheckpointLength ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAckCountRequest ¶
type QueryAckCountRequest struct { }
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 {
AckCount uint64 `protobuf:"varint,1,opt,name=ack_count,json=ackCount,proto3" json:"ack_count,omitempty"`
}
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 { }
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 (m *QueryCheckpointBufferRequest) String() 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 Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint"`
}
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 (m *QueryCheckpointBufferResponse) String() 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 { }
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 (m *QueryCheckpointLatestRequest) String() 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 {
Checkpoint Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint"`
}
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 (m *QueryCheckpointLatestResponse) String() 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 query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
}
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 { CheckpointList []Checkpoint `protobuf:"bytes,1,rep,name=checkpoint_list,json=checkpointList,proto3" json:"checkpoint_list"` Pagination query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"` }
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 { }
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 (m *QueryCheckpointOverviewRequest) String() 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 { 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"` ValidatorCount uint64 `protobuf:"varint,4,opt,name=validator_count,json=validatorCount,proto3" json:"validator_count,omitempty"` ValidatorSet types.ValidatorSet `protobuf:"bytes,5,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set"` }
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 (m *QueryCheckpointOverviewResponse) Reset()
func (*QueryCheckpointOverviewResponse) Size ¶
func (m *QueryCheckpointOverviewResponse) Size() (n int)
func (*QueryCheckpointOverviewResponse) String ¶
func (m *QueryCheckpointOverviewResponse) String() 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 {
Number uint64 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
}
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 {
Checkpoint Checkpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint"`
}
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 {
TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
}
QueryCheckpointSignaturesRequest is request type for QueryCheckpointSignatures RPC method
func (*QueryCheckpointSignaturesRequest) Descriptor ¶
func (*QueryCheckpointSignaturesRequest) Descriptor() ([]byte, []int)
func (*QueryCheckpointSignaturesRequest) GetTxHash ¶
func (m *QueryCheckpointSignaturesRequest) GetTxHash() string
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 (m *QueryCheckpointSignaturesRequest) Reset()
func (*QueryCheckpointSignaturesRequest) Size ¶
func (m *QueryCheckpointSignaturesRequest) Size() (n int)
func (*QueryCheckpointSignaturesRequest) String ¶
func (m *QueryCheckpointSignaturesRequest) String() 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 (m *QueryCheckpointSignaturesRequest) XXX_Merge(src proto.Message)
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 {
Signatures []CheckpointSignature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures"`
}
QueryCheckpointSignaturesResponse is response type for QueryCheckpointSignatures RPC method
func (*QueryCheckpointSignaturesResponse) Descriptor ¶
func (*QueryCheckpointSignaturesResponse) Descriptor() ([]byte, []int)
func (*QueryCheckpointSignaturesResponse) GetSignatures ¶
func (m *QueryCheckpointSignaturesResponse) GetSignatures() []CheckpointSignature
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 (m *QueryCheckpointSignaturesResponse) Reset()
func (*QueryCheckpointSignaturesResponse) Size ¶
func (m *QueryCheckpointSignaturesResponse) Size() (n int)
func (*QueryCheckpointSignaturesResponse) String ¶
func (m *QueryCheckpointSignaturesResponse) String() 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 (m *QueryCheckpointSignaturesResponse) XXX_Merge(src proto.Message)
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 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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryCurrentProposerRequest ¶
type QueryCurrentProposerRequest struct { }
func (*QueryCurrentProposerRequest) Descriptor ¶
func (*QueryCurrentProposerRequest) Descriptor() ([]byte, []int)
func (*QueryCurrentProposerRequest) Marshal ¶
func (m *QueryCurrentProposerRequest) Marshal() (dAtA []byte, err error)
func (*QueryCurrentProposerRequest) MarshalTo ¶
func (m *QueryCurrentProposerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryCurrentProposerRequest) MarshalToSizedBuffer ¶
func (m *QueryCurrentProposerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCurrentProposerRequest) ProtoMessage ¶
func (*QueryCurrentProposerRequest) ProtoMessage()
func (*QueryCurrentProposerRequest) Reset ¶
func (m *QueryCurrentProposerRequest) Reset()
func (*QueryCurrentProposerRequest) Size ¶
func (m *QueryCurrentProposerRequest) Size() (n int)
func (*QueryCurrentProposerRequest) String ¶
func (m *QueryCurrentProposerRequest) String() string
func (*QueryCurrentProposerRequest) Unmarshal ¶
func (m *QueryCurrentProposerRequest) Unmarshal(dAtA []byte) error
func (*QueryCurrentProposerRequest) XXX_DiscardUnknown ¶
func (m *QueryCurrentProposerRequest) XXX_DiscardUnknown()
func (*QueryCurrentProposerRequest) XXX_Marshal ¶
func (m *QueryCurrentProposerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCurrentProposerRequest) XXX_Merge ¶
func (m *QueryCurrentProposerRequest) XXX_Merge(src proto.Message)
func (*QueryCurrentProposerRequest) XXX_Size ¶
func (m *QueryCurrentProposerRequest) XXX_Size() int
func (*QueryCurrentProposerRequest) XXX_Unmarshal ¶
func (m *QueryCurrentProposerRequest) XXX_Unmarshal(b []byte) error
type QueryCurrentProposerResponse ¶
type QueryCurrentProposerResponse struct {
Validator types.Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
}
func (*QueryCurrentProposerResponse) Descriptor ¶
func (*QueryCurrentProposerResponse) Descriptor() ([]byte, []int)
func (*QueryCurrentProposerResponse) GetValidator ¶
func (m *QueryCurrentProposerResponse) GetValidator() types.Validator
func (*QueryCurrentProposerResponse) Marshal ¶
func (m *QueryCurrentProposerResponse) Marshal() (dAtA []byte, err error)
func (*QueryCurrentProposerResponse) MarshalTo ¶
func (m *QueryCurrentProposerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryCurrentProposerResponse) MarshalToSizedBuffer ¶
func (m *QueryCurrentProposerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryCurrentProposerResponse) ProtoMessage ¶
func (*QueryCurrentProposerResponse) ProtoMessage()
func (*QueryCurrentProposerResponse) Reset ¶
func (m *QueryCurrentProposerResponse) Reset()
func (*QueryCurrentProposerResponse) Size ¶
func (m *QueryCurrentProposerResponse) Size() (n int)
func (*QueryCurrentProposerResponse) String ¶
func (m *QueryCurrentProposerResponse) String() string
func (*QueryCurrentProposerResponse) Unmarshal ¶
func (m *QueryCurrentProposerResponse) Unmarshal(dAtA []byte) error
func (*QueryCurrentProposerResponse) XXX_DiscardUnknown ¶
func (m *QueryCurrentProposerResponse) XXX_DiscardUnknown()
func (*QueryCurrentProposerResponse) XXX_Marshal ¶
func (m *QueryCurrentProposerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryCurrentProposerResponse) XXX_Merge ¶
func (m *QueryCurrentProposerResponse) XXX_Merge(src proto.Message)
func (*QueryCurrentProposerResponse) XXX_Size ¶
func (m *QueryCurrentProposerResponse) XXX_Size() int
func (*QueryCurrentProposerResponse) XXX_Unmarshal ¶
func (m *QueryCurrentProposerResponse) XXX_Unmarshal(b []byte) error
type QueryLastNoAckRequest ¶
type QueryLastNoAckRequest struct { }
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 {
LastNoAckId uint64 `protobuf:"varint,1,opt,name=last_no_ack_id,json=lastNoAckId,proto3" json:"last_no_ack_id,omitempty"`
}
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 {
BorChainId string `protobuf:"bytes,1,opt,name=bor_chain_id,json=borChainId,proto3" json:"bor_chain_id,omitempty"`
}
func (*QueryNextCheckpointRequest) Descriptor ¶
func (*QueryNextCheckpointRequest) Descriptor() ([]byte, []int)
func (*QueryNextCheckpointRequest) GetBorChainId ¶
func (m *QueryNextCheckpointRequest) GetBorChainId() string
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 {
Checkpoint MsgCheckpoint `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint"`
}
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 { }
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 {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
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 QueryProposerRequest ¶
type QueryProposerRequest struct {
Times uint64 `protobuf:"varint,1,opt,name=times,proto3" json:"times,omitempty"`
}
func (*QueryProposerRequest) Descriptor ¶
func (*QueryProposerRequest) Descriptor() ([]byte, []int)
func (*QueryProposerRequest) GetTimes ¶
func (m *QueryProposerRequest) GetTimes() uint64
func (*QueryProposerRequest) Marshal ¶
func (m *QueryProposerRequest) Marshal() (dAtA []byte, err error)
func (*QueryProposerRequest) MarshalTo ¶
func (m *QueryProposerRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposerRequest) MarshalToSizedBuffer ¶
func (m *QueryProposerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposerRequest) ProtoMessage ¶
func (*QueryProposerRequest) ProtoMessage()
func (*QueryProposerRequest) Reset ¶
func (m *QueryProposerRequest) Reset()
func (*QueryProposerRequest) Size ¶
func (m *QueryProposerRequest) Size() (n int)
func (*QueryProposerRequest) String ¶
func (m *QueryProposerRequest) String() string
func (*QueryProposerRequest) Unmarshal ¶
func (m *QueryProposerRequest) Unmarshal(dAtA []byte) error
func (*QueryProposerRequest) XXX_DiscardUnknown ¶
func (m *QueryProposerRequest) XXX_DiscardUnknown()
func (*QueryProposerRequest) XXX_Marshal ¶
func (m *QueryProposerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposerRequest) XXX_Merge ¶
func (m *QueryProposerRequest) XXX_Merge(src proto.Message)
func (*QueryProposerRequest) XXX_Size ¶
func (m *QueryProposerRequest) XXX_Size() int
func (*QueryProposerRequest) XXX_Unmarshal ¶
func (m *QueryProposerRequest) XXX_Unmarshal(b []byte) error
type QueryProposerResponse ¶
type QueryProposerResponse struct {
Proposers []types.Validator `protobuf:"bytes,1,rep,name=proposers,proto3" json:"proposers"`
}
func (*QueryProposerResponse) Descriptor ¶
func (*QueryProposerResponse) Descriptor() ([]byte, []int)
func (*QueryProposerResponse) GetProposers ¶
func (m *QueryProposerResponse) GetProposers() []types.Validator
func (*QueryProposerResponse) Marshal ¶
func (m *QueryProposerResponse) Marshal() (dAtA []byte, err error)
func (*QueryProposerResponse) MarshalTo ¶
func (m *QueryProposerResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposerResponse) MarshalToSizedBuffer ¶
func (m *QueryProposerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposerResponse) ProtoMessage ¶
func (*QueryProposerResponse) ProtoMessage()
func (*QueryProposerResponse) Reset ¶
func (m *QueryProposerResponse) Reset()
func (*QueryProposerResponse) Size ¶
func (m *QueryProposerResponse) Size() (n int)
func (*QueryProposerResponse) String ¶
func (m *QueryProposerResponse) String() string
func (*QueryProposerResponse) Unmarshal ¶
func (m *QueryProposerResponse) Unmarshal(dAtA []byte) error
func (*QueryProposerResponse) XXX_DiscardUnknown ¶
func (m *QueryProposerResponse) XXX_DiscardUnknown()
func (*QueryProposerResponse) XXX_Marshal ¶
func (m *QueryProposerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposerResponse) XXX_Merge ¶
func (m *QueryProposerResponse) XXX_Merge(src proto.Message)
func (*QueryProposerResponse) XXX_Size ¶
func (m *QueryProposerResponse) XXX_Size() int
func (*QueryProposerResponse) XXX_Unmarshal ¶
func (m *QueryProposerResponse) XXX_Unmarshal(b []byte) error
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) }
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) Checkpoint(ctx context.Context, req *MsgCheckpoint) (*MsgCheckpointResponse, error)
func (*UnimplementedMsgServer) CheckpointAck ¶
func (*UnimplementedMsgServer) CheckpointAck(ctx context.Context, req *MsgCpAck) (*MsgCpAckResponse, error)
func (*UnimplementedMsgServer) CheckpointNoAck ¶
func (*UnimplementedMsgServer) CheckpointNoAck(ctx context.Context, req *MsgCpNoAck) (*MsgCheckpointNoAckResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GetAckCount ¶
func (*UnimplementedQueryServer) GetAckCount(ctx context.Context, req *QueryAckCountRequest) (*QueryAckCountResponse, error)
func (*UnimplementedQueryServer) GetCheckpoint ¶
func (*UnimplementedQueryServer) GetCheckpoint(ctx context.Context, req *QueryCheckpointRequest) (*QueryCheckpointResponse, error)
func (*UnimplementedQueryServer) GetCheckpointBuffer ¶
func (*UnimplementedQueryServer) GetCheckpointBuffer(ctx context.Context, req *QueryCheckpointBufferRequest) (*QueryCheckpointBufferResponse, error)
func (*UnimplementedQueryServer) GetCheckpointLatest ¶
func (*UnimplementedQueryServer) GetCheckpointLatest(ctx context.Context, req *QueryCheckpointLatestRequest) (*QueryCheckpointLatestResponse, error)
func (*UnimplementedQueryServer) GetCheckpointList ¶
func (*UnimplementedQueryServer) GetCheckpointList(ctx context.Context, req *QueryCheckpointListRequest) (*QueryCheckpointListResponse, error)
func (*UnimplementedQueryServer) GetCheckpointOverview ¶
func (*UnimplementedQueryServer) GetCheckpointOverview(ctx context.Context, req *QueryCheckpointOverviewRequest) (*QueryCheckpointOverviewResponse, error)
func (*UnimplementedQueryServer) GetCheckpointParams ¶
func (*UnimplementedQueryServer) GetCheckpointParams(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) GetCheckpointSignatures ¶
func (*UnimplementedQueryServer) GetCheckpointSignatures(ctx context.Context, req *QueryCheckpointSignaturesRequest) (*QueryCheckpointSignaturesResponse, error)
func (*UnimplementedQueryServer) GetCurrentProposer ¶
func (*UnimplementedQueryServer) GetCurrentProposer(ctx context.Context, req *QueryCurrentProposerRequest) (*QueryCurrentProposerResponse, error)
func (*UnimplementedQueryServer) GetLastNoAck ¶
func (*UnimplementedQueryServer) GetLastNoAck(ctx context.Context, req *QueryLastNoAckRequest) (*QueryLastNoAckResponse, error)
func (*UnimplementedQueryServer) GetNextCheckpoint ¶
func (*UnimplementedQueryServer) GetNextCheckpoint(ctx context.Context, req *QueryNextCheckpointRequest) (*QueryNextCheckpointResponse, error)
func (*UnimplementedQueryServer) GetProposers ¶
func (*UnimplementedQueryServer) GetProposers(ctx context.Context, req *QueryProposerRequest) (*QueryProposerResponse, error)