Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- 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)
- type AccountKeeper
- type BankKeeper
- type EvmKeeper
- type ExternalChainInfo
- func (*ExternalChainInfo) Descriptor() ([]byte, []int)
- func (m *ExternalChainInfo) GetAddress() string
- func (m *ExternalChainInfo) GetBalance() string
- func (m *ExternalChainInfo) GetChainReferenceID() string
- func (m *ExternalChainInfo) GetChainType() string
- func (m *ExternalChainInfo) GetPubkey() []byte
- func (m *ExternalChainInfo) GetTraits() []string
- func (m *ExternalChainInfo) Marshal() (dAtA []byte, err error)
- func (m *ExternalChainInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ExternalChainInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExternalChainInfo) ProtoMessage()
- func (m *ExternalChainInfo) Reset()
- func (m *ExternalChainInfo) Size() (n int)
- func (m *ExternalChainInfo) String() string
- func (m *ExternalChainInfo) Unmarshal(dAtA []byte) error
- func (m *ExternalChainInfo) XXX_DiscardUnknown()
- func (m *ExternalChainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExternalChainInfo) XXX_Merge(src proto.Message)
- func (m *ExternalChainInfo) XXX_Size() int
- func (m *ExternalChainInfo) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetPigeonRequirements() *PigeonRequirements
- func (m *GenesisState) GetScheduledPigeonRequirements() *ScheduledPigeonRequirements
- 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) Validate() 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 JailRecord
- func (*JailRecord) Descriptor() ([]byte, []int)
- func (m *JailRecord) GetAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *JailRecord) GetDuration() time.Duration
- func (m *JailRecord) GetJailedAt() time.Time
- func (m *JailRecord) Marshal() (dAtA []byte, err error)
- func (m *JailRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *JailRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*JailRecord) ProtoMessage()
- func (m *JailRecord) Reset()
- func (m *JailRecord) Size() (n int)
- func (m *JailRecord) String() string
- func (m *JailRecord) Unmarshal(dAtA []byte) error
- func (m *JailRecord) XXX_DiscardUnknown()
- func (m *JailRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JailRecord) XXX_Merge(src proto.Message)
- func (m *JailRecord) XXX_Size() int
- func (m *JailRecord) XXX_Unmarshal(b []byte) error
- type KeepAliveData
- type MsgAddExternalChainInfoForValidator
- func (*MsgAddExternalChainInfoForValidator) Descriptor() ([]byte, []int)
- func (m *MsgAddExternalChainInfoForValidator) GetChainInfos() []*ExternalChainInfo
- func (m *MsgAddExternalChainInfoForValidator) GetMetadata() MsgMetadata
- func (msg *MsgAddExternalChainInfoForValidator) GetSignBytes() []byte
- func (msg *MsgAddExternalChainInfoForValidator) GetSigners() []sdk.AccAddress
- func (m *MsgAddExternalChainInfoForValidator) Marshal() (dAtA []byte, err error)
- func (m *MsgAddExternalChainInfoForValidator) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddExternalChainInfoForValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddExternalChainInfoForValidator) ProtoMessage()
- func (m *MsgAddExternalChainInfoForValidator) Reset()
- func (msg *MsgAddExternalChainInfoForValidator) Route() string
- func (m *MsgAddExternalChainInfoForValidator) Size() (n int)
- func (m *MsgAddExternalChainInfoForValidator) String() string
- func (msg *MsgAddExternalChainInfoForValidator) Type() string
- func (m *MsgAddExternalChainInfoForValidator) Unmarshal(dAtA []byte) error
- func (msg *MsgAddExternalChainInfoForValidator) ValidateBasic() error
- func (m *MsgAddExternalChainInfoForValidator) XXX_DiscardUnknown()
- func (m *MsgAddExternalChainInfoForValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddExternalChainInfoForValidator) XXX_Merge(src proto.Message)
- func (m *MsgAddExternalChainInfoForValidator) XXX_Size() int
- func (m *MsgAddExternalChainInfoForValidator) XXX_Unmarshal(b []byte) error
- type MsgAddExternalChainInfoForValidatorResponse
- func (*MsgAddExternalChainInfoForValidatorResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddExternalChainInfoForValidatorResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddExternalChainInfoForValidatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddExternalChainInfoForValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddExternalChainInfoForValidatorResponse) ProtoMessage()
- func (m *MsgAddExternalChainInfoForValidatorResponse) Reset()
- func (m *MsgAddExternalChainInfoForValidatorResponse) Size() (n int)
- func (m *MsgAddExternalChainInfoForValidatorResponse) String() string
- func (m *MsgAddExternalChainInfoForValidatorResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_DiscardUnknown()
- func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_Size() int
- func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgKeepAlive
- func (*MsgKeepAlive) Descriptor() ([]byte, []int)
- func (m *MsgKeepAlive) GetMetadata() MsgMetadata
- func (m *MsgKeepAlive) GetPigeonVersion() string
- func (msg *MsgKeepAlive) GetSignBytes() []byte
- func (msg *MsgKeepAlive) GetSigners() []sdk.AccAddress
- func (m *MsgKeepAlive) Marshal() (dAtA []byte, err error)
- func (m *MsgKeepAlive) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgKeepAlive) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgKeepAlive) ProtoMessage()
- func (m *MsgKeepAlive) Reset()
- func (m *MsgKeepAlive) Size() (n int)
- func (m *MsgKeepAlive) String() string
- func (m *MsgKeepAlive) Unmarshal(dAtA []byte) error
- func (msg *MsgKeepAlive) ValidateBasic() error
- func (m *MsgKeepAlive) XXX_DiscardUnknown()
- func (m *MsgKeepAlive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgKeepAlive) XXX_Merge(src proto.Message)
- func (m *MsgKeepAlive) XXX_Size() int
- func (m *MsgKeepAlive) XXX_Unmarshal(b []byte) error
- type MsgKeepAliveResponse
- func (*MsgKeepAliveResponse) Descriptor() ([]byte, []int)
- func (m *MsgKeepAliveResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgKeepAliveResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgKeepAliveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgKeepAliveResponse) ProtoMessage()
- func (m *MsgKeepAliveResponse) Reset()
- func (m *MsgKeepAliveResponse) Size() (n int)
- func (m *MsgKeepAliveResponse) String() string
- func (m *MsgKeepAliveResponse) Unmarshal(dAtA []byte) error
- func (m *MsgKeepAliveResponse) XXX_DiscardUnknown()
- func (m *MsgKeepAliveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgKeepAliveResponse) XXX_Merge(src proto.Message)
- func (m *MsgKeepAliveResponse) XXX_Size() int
- func (m *MsgKeepAliveResponse) XXX_Unmarshal(b []byte) error
- type MsgMetadata
- func (*MsgMetadata) Descriptor() ([]byte, []int)
- func (m MsgMetadata) GetCreator() string
- func (m MsgMetadata) GetSigners() []string
- func (m *MsgMetadata) Marshal() (dAtA []byte, err error)
- func (m *MsgMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMetadata) ProtoMessage()
- func (m *MsgMetadata) Reset()
- func (m *MsgMetadata) Size() (n int)
- func (m *MsgMetadata) String() string
- func (m *MsgMetadata) Unmarshal(dAtA []byte) error
- func (m *MsgMetadata) XXX_DiscardUnknown()
- func (m *MsgMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMetadata) XXX_Merge(src proto.Message)
- func (m *MsgMetadata) XXX_Size() int
- func (m *MsgMetadata) XXX_Unmarshal(b []byte) error
- type MsgServer
- type OnSnapshotBuiltListener
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- 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 (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p 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 PigeonRequirements
- func (*PigeonRequirements) Descriptor() ([]byte, []int)
- func (m *PigeonRequirements) GetMinVersion() string
- func (m *PigeonRequirements) Marshal() (dAtA []byte, err error)
- func (m *PigeonRequirements) MarshalTo(dAtA []byte) (int, error)
- func (m *PigeonRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PigeonRequirements) ProtoMessage()
- func (m *PigeonRequirements) Reset()
- func (m *PigeonRequirements) Size() (n int)
- func (m *PigeonRequirements) String() string
- func (m *PigeonRequirements) Unmarshal(dAtA []byte) error
- func (m *PigeonRequirements) XXX_DiscardUnknown()
- func (m *PigeonRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PigeonRequirements) XXX_Merge(src proto.Message)
- func (m *PigeonRequirements) XXX_Size() int
- func (m *PigeonRequirements) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetAlivePigeonsRequest
- func (*QueryGetAlivePigeonsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetAlivePigeonsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAlivePigeonsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAlivePigeonsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAlivePigeonsRequest) ProtoMessage()
- func (m *QueryGetAlivePigeonsRequest) Reset()
- func (m *QueryGetAlivePigeonsRequest) Size() (n int)
- func (m *QueryGetAlivePigeonsRequest) String() string
- func (m *QueryGetAlivePigeonsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetAlivePigeonsRequest) XXX_DiscardUnknown()
- func (m *QueryGetAlivePigeonsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAlivePigeonsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetAlivePigeonsRequest) XXX_Size() int
- func (m *QueryGetAlivePigeonsRequest) XXX_Unmarshal(b []byte) error
- type QueryGetAlivePigeonsResponse
- func (*QueryGetAlivePigeonsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetAlivePigeonsResponse) GetAliveValidators() []*QueryGetAlivePigeonsResponse_ValidatorAlive
- func (m *QueryGetAlivePigeonsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAlivePigeonsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAlivePigeonsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAlivePigeonsResponse) ProtoMessage()
- func (m *QueryGetAlivePigeonsResponse) Reset()
- func (m *QueryGetAlivePigeonsResponse) Size() (n int)
- func (m *QueryGetAlivePigeonsResponse) String() string
- func (m *QueryGetAlivePigeonsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetAlivePigeonsResponse) XXX_DiscardUnknown()
- func (m *QueryGetAlivePigeonsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAlivePigeonsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetAlivePigeonsResponse) XXX_Size() int
- func (m *QueryGetAlivePigeonsResponse) XXX_Unmarshal(b []byte) error
- type QueryGetAlivePigeonsResponse_ValidatorAlive
- func (*QueryGetAlivePigeonsResponse_ValidatorAlive) Descriptor() ([]byte, []int)
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) GetAliveUntilBlockHeight() int64
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) GetError() string
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) GetPigeonVersion() string
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) Marshal() (dAtA []byte, err error)
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetAlivePigeonsResponse_ValidatorAlive) ProtoMessage()
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) Reset()
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) Size() (n int)
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) String() string
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) Unmarshal(dAtA []byte) error
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_DiscardUnknown()
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Merge(src proto.Message)
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Size() int
- func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Unmarshal(b []byte) error
- type QueryGetLatestPublishedSnapshotRequest
- func (*QueryGetLatestPublishedSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestPublishedSnapshotRequest) GetChainReferenceID() string
- func (m *QueryGetLatestPublishedSnapshotRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestPublishedSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestPublishedSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestPublishedSnapshotRequest) ProtoMessage()
- func (m *QueryGetLatestPublishedSnapshotRequest) Reset()
- func (m *QueryGetLatestPublishedSnapshotRequest) Size() (n int)
- func (m *QueryGetLatestPublishedSnapshotRequest) String() string
- func (m *QueryGetLatestPublishedSnapshotRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestPublishedSnapshotRequest) XXX_DiscardUnknown()
- func (m *QueryGetLatestPublishedSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestPublishedSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestPublishedSnapshotRequest) XXX_Size() int
- func (m *QueryGetLatestPublishedSnapshotRequest) XXX_Unmarshal(b []byte) error
- type QueryGetLatestPublishedSnapshotResponse
- func (*QueryGetLatestPublishedSnapshotResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetLatestPublishedSnapshotResponse) GetSnapshot() *Snapshot
- func (m *QueryGetLatestPublishedSnapshotResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetLatestPublishedSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetLatestPublishedSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetLatestPublishedSnapshotResponse) ProtoMessage()
- func (m *QueryGetLatestPublishedSnapshotResponse) Reset()
- func (m *QueryGetLatestPublishedSnapshotResponse) Size() (n int)
- func (m *QueryGetLatestPublishedSnapshotResponse) String() string
- func (m *QueryGetLatestPublishedSnapshotResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetLatestPublishedSnapshotResponse) XXX_DiscardUnknown()
- func (m *QueryGetLatestPublishedSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetLatestPublishedSnapshotResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetLatestPublishedSnapshotResponse) XXX_Size() int
- func (m *QueryGetLatestPublishedSnapshotResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPigeonRequirementsRequest
- func (*QueryGetPigeonRequirementsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPigeonRequirementsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPigeonRequirementsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPigeonRequirementsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPigeonRequirementsRequest) ProtoMessage()
- func (m *QueryGetPigeonRequirementsRequest) Reset()
- func (m *QueryGetPigeonRequirementsRequest) Size() (n int)
- func (m *QueryGetPigeonRequirementsRequest) String() string
- func (m *QueryGetPigeonRequirementsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPigeonRequirementsRequest) XXX_DiscardUnknown()
- func (m *QueryGetPigeonRequirementsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPigeonRequirementsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPigeonRequirementsRequest) XXX_Size() int
- func (m *QueryGetPigeonRequirementsRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPigeonRequirementsResponse
- func (*QueryGetPigeonRequirementsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPigeonRequirementsResponse) GetPigeonRequirements() *PigeonRequirements
- func (m *QueryGetPigeonRequirementsResponse) GetScheduledPigeonRequirements() *ScheduledPigeonRequirements
- func (m *QueryGetPigeonRequirementsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPigeonRequirementsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPigeonRequirementsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPigeonRequirementsResponse) ProtoMessage()
- func (m *QueryGetPigeonRequirementsResponse) Reset()
- func (m *QueryGetPigeonRequirementsResponse) Size() (n int)
- func (m *QueryGetPigeonRequirementsResponse) String() string
- func (m *QueryGetPigeonRequirementsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPigeonRequirementsResponse) XXX_DiscardUnknown()
- func (m *QueryGetPigeonRequirementsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPigeonRequirementsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPigeonRequirementsResponse) XXX_Size() int
- func (m *QueryGetPigeonRequirementsResponse) XXX_Unmarshal(b []byte) error
- type QueryGetSnapshotByIDRequest
- func (*QueryGetSnapshotByIDRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetSnapshotByIDRequest) GetSnapshotId() uint64
- func (m *QueryGetSnapshotByIDRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetSnapshotByIDRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetSnapshotByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetSnapshotByIDRequest) ProtoMessage()
- func (m *QueryGetSnapshotByIDRequest) Reset()
- func (m *QueryGetSnapshotByIDRequest) Size() (n int)
- func (m *QueryGetSnapshotByIDRequest) String() string
- func (m *QueryGetSnapshotByIDRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetSnapshotByIDRequest) XXX_DiscardUnknown()
- func (m *QueryGetSnapshotByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetSnapshotByIDRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetSnapshotByIDRequest) XXX_Size() int
- func (m *QueryGetSnapshotByIDRequest) XXX_Unmarshal(b []byte) error
- type QueryGetSnapshotByIDResponse
- func (*QueryGetSnapshotByIDResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetSnapshotByIDResponse) GetSnapshot() *Snapshot
- func (m *QueryGetSnapshotByIDResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetSnapshotByIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetSnapshotByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetSnapshotByIDResponse) ProtoMessage()
- func (m *QueryGetSnapshotByIDResponse) Reset()
- func (m *QueryGetSnapshotByIDResponse) Size() (n int)
- func (m *QueryGetSnapshotByIDResponse) String() string
- func (m *QueryGetSnapshotByIDResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetSnapshotByIDResponse) XXX_DiscardUnknown()
- func (m *QueryGetSnapshotByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetSnapshotByIDResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetSnapshotByIDResponse) XXX_Size() int
- func (m *QueryGetSnapshotByIDResponse) XXX_Unmarshal(b []byte) error
- type QueryGetValidatorAliveUntilRequest
- func (*QueryGetValidatorAliveUntilRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetValidatorAliveUntilRequest) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *QueryGetValidatorAliveUntilRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetValidatorAliveUntilRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetValidatorAliveUntilRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetValidatorAliveUntilRequest) ProtoMessage()
- func (m *QueryGetValidatorAliveUntilRequest) Reset()
- func (m *QueryGetValidatorAliveUntilRequest) Size() (n int)
- func (m *QueryGetValidatorAliveUntilRequest) String() string
- func (m *QueryGetValidatorAliveUntilRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetValidatorAliveUntilRequest) XXX_DiscardUnknown()
- func (m *QueryGetValidatorAliveUntilRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetValidatorAliveUntilRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetValidatorAliveUntilRequest) XXX_Size() int
- func (m *QueryGetValidatorAliveUntilRequest) XXX_Unmarshal(b []byte) error
- type QueryGetValidatorAliveUntilResponse
- func (*QueryGetValidatorAliveUntilResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetValidatorAliveUntilResponse) GetAliveUntilBlockHeight() int64
- func (m *QueryGetValidatorAliveUntilResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetValidatorAliveUntilResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetValidatorAliveUntilResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetValidatorAliveUntilResponse) ProtoMessage()
- func (m *QueryGetValidatorAliveUntilResponse) Reset()
- func (m *QueryGetValidatorAliveUntilResponse) Size() (n int)
- func (m *QueryGetValidatorAliveUntilResponse) String() string
- func (m *QueryGetValidatorAliveUntilResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetValidatorAliveUntilResponse) XXX_DiscardUnknown()
- func (m *QueryGetValidatorAliveUntilResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetValidatorAliveUntilResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetValidatorAliveUntilResponse) XXX_Size() int
- func (m *QueryGetValidatorAliveUntilResponse) XXX_Unmarshal(b []byte) error
- type QueryGetValidatorJailReasonRequest
- func (*QueryGetValidatorJailReasonRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetValidatorJailReasonRequest) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *QueryGetValidatorJailReasonRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetValidatorJailReasonRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetValidatorJailReasonRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetValidatorJailReasonRequest) ProtoMessage()
- func (m *QueryGetValidatorJailReasonRequest) Reset()
- func (m *QueryGetValidatorJailReasonRequest) Size() (n int)
- func (m *QueryGetValidatorJailReasonRequest) String() string
- func (m *QueryGetValidatorJailReasonRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetValidatorJailReasonRequest) XXX_DiscardUnknown()
- func (m *QueryGetValidatorJailReasonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetValidatorJailReasonRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetValidatorJailReasonRequest) XXX_Size() int
- func (m *QueryGetValidatorJailReasonRequest) XXX_Unmarshal(b []byte) error
- type QueryGetValidatorJailReasonResponse
- func (*QueryGetValidatorJailReasonResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetValidatorJailReasonResponse) GetReason() string
- func (m *QueryGetValidatorJailReasonResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetValidatorJailReasonResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetValidatorJailReasonResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetValidatorJailReasonResponse) ProtoMessage()
- func (m *QueryGetValidatorJailReasonResponse) Reset()
- func (m *QueryGetValidatorJailReasonResponse) Size() (n int)
- func (m *QueryGetValidatorJailReasonResponse) String() string
- func (m *QueryGetValidatorJailReasonResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetValidatorJailReasonResponse) XXX_DiscardUnknown()
- func (m *QueryGetValidatorJailReasonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetValidatorJailReasonResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetValidatorJailReasonResponse) XXX_Size() int
- func (m *QueryGetValidatorJailReasonResponse) 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 QueryServer
- type QueryValidatorInfoRequest
- func (*QueryValidatorInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryValidatorInfoRequest) GetValAddr() string
- func (m *QueryValidatorInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorInfoRequest) ProtoMessage()
- func (m *QueryValidatorInfoRequest) Reset()
- func (m *QueryValidatorInfoRequest) Size() (n int)
- func (m *QueryValidatorInfoRequest) String() string
- func (m *QueryValidatorInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorInfoRequest) XXX_DiscardUnknown()
- func (m *QueryValidatorInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryValidatorInfoRequest) XXX_Size() int
- func (m *QueryValidatorInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryValidatorInfoResponse
- func (*QueryValidatorInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryValidatorInfoResponse) GetChainInfos() []*ExternalChainInfo
- func (m *QueryValidatorInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryValidatorInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryValidatorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryValidatorInfoResponse) ProtoMessage()
- func (m *QueryValidatorInfoResponse) Reset()
- func (m *QueryValidatorInfoResponse) Size() (n int)
- func (m *QueryValidatorInfoResponse) String() string
- func (m *QueryValidatorInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryValidatorInfoResponse) XXX_DiscardUnknown()
- func (m *QueryValidatorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryValidatorInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryValidatorInfoResponse) XXX_Size() int
- func (m *QueryValidatorInfoResponse) XXX_Unmarshal(b []byte) error
- type ScheduledPigeonRequirements
- func (*ScheduledPigeonRequirements) Descriptor() ([]byte, []int)
- func (m *ScheduledPigeonRequirements) GetRequirements() *PigeonRequirements
- func (m *ScheduledPigeonRequirements) GetTargetBlockHeight() uint64
- func (m *ScheduledPigeonRequirements) Marshal() (dAtA []byte, err error)
- func (m *ScheduledPigeonRequirements) MarshalTo(dAtA []byte) (int, error)
- func (m *ScheduledPigeonRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScheduledPigeonRequirements) ProtoMessage()
- func (m *ScheduledPigeonRequirements) Reset()
- func (m *ScheduledPigeonRequirements) Size() (n int)
- func (m *ScheduledPigeonRequirements) String() string
- func (m *ScheduledPigeonRequirements) Unmarshal(dAtA []byte) error
- func (m *ScheduledPigeonRequirements) XXX_DiscardUnknown()
- func (m *ScheduledPigeonRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScheduledPigeonRequirements) XXX_Merge(src proto.Message)
- func (m *ScheduledPigeonRequirements) XXX_Size() int
- func (m *ScheduledPigeonRequirements) XXX_Unmarshal(b []byte) error
- type SetPigeonRequirementsProposal
- func (*SetPigeonRequirementsProposal) Descriptor() ([]byte, []int)
- func (m *SetPigeonRequirementsProposal) GetDescription() string
- func (m *SetPigeonRequirementsProposal) GetMinVersion() string
- func (m *SetPigeonRequirementsProposal) GetTargetBlockHeight() uint64
- func (m *SetPigeonRequirementsProposal) GetTitle() string
- func (m *SetPigeonRequirementsProposal) Marshal() (dAtA []byte, err error)
- func (m *SetPigeonRequirementsProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *SetPigeonRequirementsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (a *SetPigeonRequirementsProposal) ProposalRoute() string
- func (a *SetPigeonRequirementsProposal) ProposalType() string
- func (*SetPigeonRequirementsProposal) ProtoMessage()
- func (m *SetPigeonRequirementsProposal) Reset()
- func (m *SetPigeonRequirementsProposal) Size() (n int)
- func (m *SetPigeonRequirementsProposal) String() string
- func (m *SetPigeonRequirementsProposal) Unmarshal(dAtA []byte) error
- func (a *SetPigeonRequirementsProposal) ValidateBasic() error
- func (m *SetPigeonRequirementsProposal) XXX_DiscardUnknown()
- func (m *SetPigeonRequirementsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetPigeonRequirementsProposal) XXX_Merge(src proto.Message)
- func (m *SetPigeonRequirementsProposal) XXX_Size() int
- func (m *SetPigeonRequirementsProposal) XXX_Unmarshal(b []byte) error
- type SlashingKeeper
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)
- func (m *Snapshot) GetChains() []string
- func (m *Snapshot) GetCreatedAt() time.Time
- func (m *Snapshot) GetHeight() int64
- func (m *Snapshot) GetId() uint64
- func (s *Snapshot) GetValidator(find sdk.ValAddress) (Validator, bool)
- func (m *Snapshot) GetValidators() []Validator
- func (m *Snapshot) Marshal() (dAtA []byte, err error)
- func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Snapshot) ProtoMessage()
- func (m *Snapshot) Reset()
- func (m *Snapshot) Size() (n int)
- func (m *Snapshot) String() string
- func (m *Snapshot) Unmarshal(dAtA []byte) error
- func (m *Snapshot) XXX_DiscardUnknown()
- func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Snapshot) XXX_Merge(src proto.Message)
- func (m *Snapshot) XXX_Size() int
- func (m *Snapshot) XXX_Unmarshal(b []byte) error
- type StakingKeeper
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GetAlivePigeons(ctx context.Context, req *QueryGetAlivePigeonsRequest) (*QueryGetAlivePigeonsResponse, error)
- func (*UnimplementedQueryServer) GetLatestPublishedSnapshot(ctx context.Context, req *QueryGetLatestPublishedSnapshotRequest) (*QueryGetLatestPublishedSnapshotResponse, error)
- func (*UnimplementedQueryServer) GetPigeonRequirements(ctx context.Context, req *QueryGetPigeonRequirementsRequest) (*QueryGetPigeonRequirementsResponse, error)
- func (*UnimplementedQueryServer) GetSnapshotByID(ctx context.Context, req *QueryGetSnapshotByIDRequest) (*QueryGetSnapshotByIDResponse, error)
- func (*UnimplementedQueryServer) GetValidatorAliveUntil(ctx context.Context, req *QueryGetValidatorAliveUntilRequest) (*QueryGetValidatorAliveUntilResponse, error)
- func (*UnimplementedQueryServer) GetValidatorJailReason(ctx context.Context, req *QueryGetValidatorJailReasonRequest) (*QueryGetValidatorJailReasonResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ValidatorInfo(ctx context.Context, req *QueryValidatorInfoRequest) (*QueryValidatorInfoResponse, error)
- type Validator
- func (*Validator) Descriptor() ([]byte, []int)
- func (m *Validator) GetAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *Validator) GetExternalChainInfos() []*ExternalChainInfo
- func (m *Validator) GetState() ValidatorState
- func (m *Validator) Marshal() (dAtA []byte, err error)
- func (m *Validator) MarshalTo(dAtA []byte) (int, error)
- func (m *Validator) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Validator) ProtoMessage()
- func (m *Validator) Reset()
- func (m *Validator) Size() (n int)
- func (m *Validator) String() string
- func (m *Validator) Unmarshal(dAtA []byte) error
- func (m *Validator) XXX_DiscardUnknown()
- func (m *Validator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Validator) XXX_Merge(src proto.Message)
- func (m *Validator) XXX_Size() int
- func (m *Validator) XXX_Unmarshal(b []byte) error
- type ValidatorExternalAccounts
- func (*ValidatorExternalAccounts) Descriptor() ([]byte, []int)
- func (m *ValidatorExternalAccounts) GetAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
- func (m *ValidatorExternalAccounts) GetExternalChainInfo() []*ExternalChainInfo
- func (m *ValidatorExternalAccounts) Marshal() (dAtA []byte, err error)
- func (m *ValidatorExternalAccounts) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorExternalAccounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorExternalAccounts) ProtoMessage()
- func (m *ValidatorExternalAccounts) Reset()
- func (m *ValidatorExternalAccounts) Size() (n int)
- func (m *ValidatorExternalAccounts) String() string
- func (m *ValidatorExternalAccounts) Unmarshal(dAtA []byte) error
- func (m *ValidatorExternalAccounts) XXX_DiscardUnknown()
- func (m *ValidatorExternalAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorExternalAccounts) XXX_Merge(src proto.Message)
- func (m *ValidatorExternalAccounts) XXX_Size() int
- func (m *ValidatorExternalAccounts) XXX_Unmarshal(b []byte) error
- type ValidatorState
Constants ¶
const ( // ModuleName defines the module name ModuleName = "valset" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_valset" // JailLogKey defines the jail log KV store key JailLogKey = "jail_log" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
JailReasonPigeonInactive = "validator's pigeon has been inactive"
)
const PIGEON_TRAIT_MEV = "mev"
const (
ProposalTypeSetPigeonRequirements = "ValsetSetPigeonRequirementsProposal"
)
const TypeMsgAddExternalChainInfoForValidator = "add_external_chain_info_for_validator"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCommon = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupCommon = fmt.Errorf("proto: unexpected end of group") )
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 ( ErrInvalidLengthJail = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowJail = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupJail = fmt.Errorf("proto: unexpected end of group") )
var ( PigeonStoreKey = []byte("pigeon-requirements") PigeonRequirementsKey = []byte("current") PigeonScheduledRequirementsKey = []byte("scheduled") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthPigeonRequirements = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowPigeonRequirements = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupPigeonRequirements = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSetPigeonRequirementsProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSetPigeonRequirementsProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSetPigeonRequirementsProposal = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSnapshot = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSnapshot = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSnapshot = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/valset module sentinel errors
var ValidatorState_name = map[int32]string{
0: "NONE",
1: "ACTIVE",
2: "JAILED",
}
var ValidatorState_value = map[string]int32{
"NONE": 0,
"ACTIVE": 1,
"JAILED": 2,
}
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
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)
Types ¶
type AccountKeeper ¶
type BankKeeper ¶
type ExternalChainInfo ¶
type ExternalChainInfo struct { ChainType string `protobuf:"bytes,1,opt,name=chainType,proto3" json:"chainType,omitempty"` ChainReferenceID string `protobuf:"bytes,2,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` Pubkey []byte `protobuf:"bytes,4,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Balance string `protobuf:"bytes,5,opt,name=balance,proto3" json:"balance,omitempty"` Traits []string `protobuf:"bytes,6,rep,name=traits,proto3" json:"traits,omitempty"` }
func (*ExternalChainInfo) Descriptor ¶
func (*ExternalChainInfo) Descriptor() ([]byte, []int)
func (*ExternalChainInfo) GetAddress ¶
func (m *ExternalChainInfo) GetAddress() string
func (*ExternalChainInfo) GetBalance ¶
func (m *ExternalChainInfo) GetBalance() string
func (*ExternalChainInfo) GetChainReferenceID ¶
func (m *ExternalChainInfo) GetChainReferenceID() string
func (*ExternalChainInfo) GetChainType ¶
func (m *ExternalChainInfo) GetChainType() string
func (*ExternalChainInfo) GetPubkey ¶
func (m *ExternalChainInfo) GetPubkey() []byte
func (*ExternalChainInfo) GetTraits ¶
func (m *ExternalChainInfo) GetTraits() []string
func (*ExternalChainInfo) Marshal ¶
func (m *ExternalChainInfo) Marshal() (dAtA []byte, err error)
func (*ExternalChainInfo) MarshalTo ¶
func (m *ExternalChainInfo) MarshalTo(dAtA []byte) (int, error)
func (*ExternalChainInfo) MarshalToSizedBuffer ¶
func (m *ExternalChainInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ExternalChainInfo) ProtoMessage ¶
func (*ExternalChainInfo) ProtoMessage()
func (*ExternalChainInfo) Reset ¶
func (m *ExternalChainInfo) Reset()
func (*ExternalChainInfo) Size ¶
func (m *ExternalChainInfo) Size() (n int)
func (*ExternalChainInfo) String ¶
func (m *ExternalChainInfo) String() string
func (*ExternalChainInfo) Unmarshal ¶
func (m *ExternalChainInfo) Unmarshal(dAtA []byte) error
func (*ExternalChainInfo) XXX_DiscardUnknown ¶
func (m *ExternalChainInfo) XXX_DiscardUnknown()
func (*ExternalChainInfo) XXX_Marshal ¶
func (m *ExternalChainInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ExternalChainInfo) XXX_Merge ¶
func (m *ExternalChainInfo) XXX_Merge(src proto.Message)
func (*ExternalChainInfo) XXX_Size ¶
func (m *ExternalChainInfo) XXX_Size() int
func (*ExternalChainInfo) XXX_Unmarshal ¶
func (m *ExternalChainInfo) XXX_Unmarshal(b []byte) error
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` PigeonRequirements *PigeonRequirements `protobuf:"bytes,2,opt,name=pigeonRequirements,proto3" json:"pigeonRequirements,omitempty"` ScheduledPigeonRequirements *ScheduledPigeonRequirements `protobuf:"bytes,3,opt,name=scheduledPigeonRequirements,proto3" json:"scheduledPigeonRequirements,omitempty"` }
GenesisState defines the valset module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetPigeonRequirements ¶
func (m *GenesisState) GetPigeonRequirements() *PigeonRequirements
func (*GenesisState) GetScheduledPigeonRequirements ¶
func (m *GenesisState) GetScheduledPigeonRequirements() *ScheduledPigeonRequirements
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) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
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 JailRecord ¶
type JailRecord struct { // Address of the validator being jailed Address github_com_cosmos_cosmos_sdk_types.ValAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.ValAddress" json:"address,omitempty"` // Duration of jailing Duration time.Duration `protobuf:"bytes,2,opt,name=duration,proto3,stdduration" json:"duration"` // Timestamp of when the validator was jailed JailedAt time.Time `protobuf:"bytes,3,opt,name=jailedAt,proto3,stdtime" json:"jailedAt"` }
func (*JailRecord) Descriptor ¶
func (*JailRecord) Descriptor() ([]byte, []int)
func (*JailRecord) GetAddress ¶
func (m *JailRecord) GetAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*JailRecord) GetDuration ¶
func (m *JailRecord) GetDuration() time.Duration
func (*JailRecord) GetJailedAt ¶
func (m *JailRecord) GetJailedAt() time.Time
func (*JailRecord) Marshal ¶
func (m *JailRecord) Marshal() (dAtA []byte, err error)
func (*JailRecord) MarshalToSizedBuffer ¶
func (m *JailRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*JailRecord) ProtoMessage ¶
func (*JailRecord) ProtoMessage()
func (*JailRecord) Reset ¶
func (m *JailRecord) Reset()
func (*JailRecord) Size ¶
func (m *JailRecord) Size() (n int)
func (*JailRecord) String ¶
func (m *JailRecord) String() string
func (*JailRecord) Unmarshal ¶
func (m *JailRecord) Unmarshal(dAtA []byte) error
func (*JailRecord) XXX_DiscardUnknown ¶
func (m *JailRecord) XXX_DiscardUnknown()
func (*JailRecord) XXX_Marshal ¶
func (m *JailRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JailRecord) XXX_Merge ¶
func (m *JailRecord) XXX_Merge(src proto.Message)
func (*JailRecord) XXX_Size ¶
func (m *JailRecord) XXX_Size() int
func (*JailRecord) XXX_Unmarshal ¶
func (m *JailRecord) XXX_Unmarshal(b []byte) error
type KeepAliveData ¶
type MsgAddExternalChainInfoForValidator ¶
type MsgAddExternalChainInfoForValidator struct { ChainInfos []*ExternalChainInfo `protobuf:"bytes,2,rep,name=chainInfos,proto3" json:"chainInfos,omitempty"` Metadata MsgMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"` }
func (*MsgAddExternalChainInfoForValidator) Descriptor ¶
func (*MsgAddExternalChainInfoForValidator) Descriptor() ([]byte, []int)
func (*MsgAddExternalChainInfoForValidator) GetChainInfos ¶
func (m *MsgAddExternalChainInfoForValidator) GetChainInfos() []*ExternalChainInfo
func (*MsgAddExternalChainInfoForValidator) GetMetadata ¶
func (m *MsgAddExternalChainInfoForValidator) GetMetadata() MsgMetadata
func (*MsgAddExternalChainInfoForValidator) GetSignBytes ¶
func (msg *MsgAddExternalChainInfoForValidator) GetSignBytes() []byte
func (*MsgAddExternalChainInfoForValidator) GetSigners ¶
func (msg *MsgAddExternalChainInfoForValidator) GetSigners() []sdk.AccAddress
func (*MsgAddExternalChainInfoForValidator) Marshal ¶
func (m *MsgAddExternalChainInfoForValidator) Marshal() (dAtA []byte, err error)
func (*MsgAddExternalChainInfoForValidator) MarshalTo ¶
func (m *MsgAddExternalChainInfoForValidator) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddExternalChainInfoForValidator) MarshalToSizedBuffer ¶
func (m *MsgAddExternalChainInfoForValidator) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddExternalChainInfoForValidator) ProtoMessage ¶
func (*MsgAddExternalChainInfoForValidator) ProtoMessage()
func (*MsgAddExternalChainInfoForValidator) Reset ¶
func (m *MsgAddExternalChainInfoForValidator) Reset()
func (*MsgAddExternalChainInfoForValidator) Route ¶
func (msg *MsgAddExternalChainInfoForValidator) Route() string
func (*MsgAddExternalChainInfoForValidator) Size ¶
func (m *MsgAddExternalChainInfoForValidator) Size() (n int)
func (*MsgAddExternalChainInfoForValidator) String ¶
func (m *MsgAddExternalChainInfoForValidator) String() string
func (*MsgAddExternalChainInfoForValidator) Type ¶
func (msg *MsgAddExternalChainInfoForValidator) Type() string
func (*MsgAddExternalChainInfoForValidator) Unmarshal ¶
func (m *MsgAddExternalChainInfoForValidator) Unmarshal(dAtA []byte) error
func (*MsgAddExternalChainInfoForValidator) ValidateBasic ¶
func (msg *MsgAddExternalChainInfoForValidator) ValidateBasic() error
func (*MsgAddExternalChainInfoForValidator) XXX_DiscardUnknown ¶
func (m *MsgAddExternalChainInfoForValidator) XXX_DiscardUnknown()
func (*MsgAddExternalChainInfoForValidator) XXX_Marshal ¶
func (m *MsgAddExternalChainInfoForValidator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddExternalChainInfoForValidator) XXX_Merge ¶
func (m *MsgAddExternalChainInfoForValidator) XXX_Merge(src proto.Message)
func (*MsgAddExternalChainInfoForValidator) XXX_Size ¶
func (m *MsgAddExternalChainInfoForValidator) XXX_Size() int
func (*MsgAddExternalChainInfoForValidator) XXX_Unmarshal ¶
func (m *MsgAddExternalChainInfoForValidator) XXX_Unmarshal(b []byte) error
type MsgAddExternalChainInfoForValidatorResponse ¶
type MsgAddExternalChainInfoForValidatorResponse struct{}
func (*MsgAddExternalChainInfoForValidatorResponse) Descriptor ¶
func (*MsgAddExternalChainInfoForValidatorResponse) Descriptor() ([]byte, []int)
func (*MsgAddExternalChainInfoForValidatorResponse) Marshal ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddExternalChainInfoForValidatorResponse) MarshalTo ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddExternalChainInfoForValidatorResponse) MarshalToSizedBuffer ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddExternalChainInfoForValidatorResponse) ProtoMessage ¶
func (*MsgAddExternalChainInfoForValidatorResponse) ProtoMessage()
func (*MsgAddExternalChainInfoForValidatorResponse) Reset ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) Reset()
func (*MsgAddExternalChainInfoForValidatorResponse) Size ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) Size() (n int)
func (*MsgAddExternalChainInfoForValidatorResponse) String ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) String() string
func (*MsgAddExternalChainInfoForValidatorResponse) Unmarshal ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) Unmarshal(dAtA []byte) error
func (*MsgAddExternalChainInfoForValidatorResponse) XXX_DiscardUnknown ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_DiscardUnknown()
func (*MsgAddExternalChainInfoForValidatorResponse) XXX_Marshal ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddExternalChainInfoForValidatorResponse) XXX_Merge ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_Merge(src proto.Message)
func (*MsgAddExternalChainInfoForValidatorResponse) XXX_Size ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_Size() int
func (*MsgAddExternalChainInfoForValidatorResponse) XXX_Unmarshal ¶
func (m *MsgAddExternalChainInfoForValidatorResponse) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { AddExternalChainInfoForValidator(ctx context.Context, in *MsgAddExternalChainInfoForValidator, opts ...grpc.CallOption) (*MsgAddExternalChainInfoForValidatorResponse, error) KeepAlive(ctx context.Context, in *MsgKeepAlive, opts ...grpc.CallOption) (*MsgKeepAliveResponse, 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 MsgKeepAlive ¶
type MsgKeepAlive struct { PigeonVersion string `protobuf:"bytes,2,opt,name=pigeonVersion,proto3" json:"pigeonVersion,omitempty"` Metadata MsgMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata"` }
func (*MsgKeepAlive) Descriptor ¶
func (*MsgKeepAlive) Descriptor() ([]byte, []int)
func (*MsgKeepAlive) GetMetadata ¶
func (m *MsgKeepAlive) GetMetadata() MsgMetadata
func (*MsgKeepAlive) GetPigeonVersion ¶
func (m *MsgKeepAlive) GetPigeonVersion() string
func (*MsgKeepAlive) GetSignBytes ¶
func (msg *MsgKeepAlive) GetSignBytes() []byte
func (*MsgKeepAlive) GetSigners ¶
func (msg *MsgKeepAlive) GetSigners() []sdk.AccAddress
func (*MsgKeepAlive) Marshal ¶
func (m *MsgKeepAlive) Marshal() (dAtA []byte, err error)
func (*MsgKeepAlive) MarshalToSizedBuffer ¶
func (m *MsgKeepAlive) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgKeepAlive) ProtoMessage ¶
func (*MsgKeepAlive) ProtoMessage()
func (*MsgKeepAlive) Reset ¶
func (m *MsgKeepAlive) Reset()
func (*MsgKeepAlive) Size ¶
func (m *MsgKeepAlive) Size() (n int)
func (*MsgKeepAlive) String ¶
func (m *MsgKeepAlive) String() string
func (*MsgKeepAlive) Unmarshal ¶
func (m *MsgKeepAlive) Unmarshal(dAtA []byte) error
func (*MsgKeepAlive) ValidateBasic ¶
func (msg *MsgKeepAlive) ValidateBasic() error
func (*MsgKeepAlive) XXX_DiscardUnknown ¶
func (m *MsgKeepAlive) XXX_DiscardUnknown()
func (*MsgKeepAlive) XXX_Marshal ¶
func (m *MsgKeepAlive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgKeepAlive) XXX_Merge ¶
func (m *MsgKeepAlive) XXX_Merge(src proto.Message)
func (*MsgKeepAlive) XXX_Size ¶
func (m *MsgKeepAlive) XXX_Size() int
func (*MsgKeepAlive) XXX_Unmarshal ¶
func (m *MsgKeepAlive) XXX_Unmarshal(b []byte) error
type MsgKeepAliveResponse ¶
type MsgKeepAliveResponse struct{}
func (*MsgKeepAliveResponse) Descriptor ¶
func (*MsgKeepAliveResponse) Descriptor() ([]byte, []int)
func (*MsgKeepAliveResponse) Marshal ¶
func (m *MsgKeepAliveResponse) Marshal() (dAtA []byte, err error)
func (*MsgKeepAliveResponse) MarshalTo ¶
func (m *MsgKeepAliveResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgKeepAliveResponse) MarshalToSizedBuffer ¶
func (m *MsgKeepAliveResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgKeepAliveResponse) ProtoMessage ¶
func (*MsgKeepAliveResponse) ProtoMessage()
func (*MsgKeepAliveResponse) Reset ¶
func (m *MsgKeepAliveResponse) Reset()
func (*MsgKeepAliveResponse) Size ¶
func (m *MsgKeepAliveResponse) Size() (n int)
func (*MsgKeepAliveResponse) String ¶
func (m *MsgKeepAliveResponse) String() string
func (*MsgKeepAliveResponse) Unmarshal ¶
func (m *MsgKeepAliveResponse) Unmarshal(dAtA []byte) error
func (*MsgKeepAliveResponse) XXX_DiscardUnknown ¶
func (m *MsgKeepAliveResponse) XXX_DiscardUnknown()
func (*MsgKeepAliveResponse) XXX_Marshal ¶
func (m *MsgKeepAliveResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgKeepAliveResponse) XXX_Merge ¶
func (m *MsgKeepAliveResponse) XXX_Merge(src proto.Message)
func (*MsgKeepAliveResponse) XXX_Size ¶
func (m *MsgKeepAliveResponse) XXX_Size() int
func (*MsgKeepAliveResponse) XXX_Unmarshal ¶
func (m *MsgKeepAliveResponse) XXX_Unmarshal(b []byte) error
type MsgMetadata ¶
type MsgMetadata struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"` }
MsgMetadata contains a record of the message creator (validator address) as well as a list of message signers (e.g. operator keys, multisigs, etc...) Getters are implemented manually to avoid use of pointer methods, which breaks interface casting.
func (*MsgMetadata) Descriptor ¶
func (*MsgMetadata) Descriptor() ([]byte, []int)
func (MsgMetadata) GetCreator ¶
func (m MsgMetadata) GetCreator() string
func (MsgMetadata) GetSigners ¶
func (m MsgMetadata) GetSigners() []string
func (*MsgMetadata) Marshal ¶
func (m *MsgMetadata) Marshal() (dAtA []byte, err error)
func (*MsgMetadata) MarshalToSizedBuffer ¶
func (m *MsgMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMetadata) ProtoMessage ¶
func (*MsgMetadata) ProtoMessage()
func (*MsgMetadata) Reset ¶
func (m *MsgMetadata) Reset()
func (*MsgMetadata) Size ¶
func (m *MsgMetadata) Size() (n int)
func (*MsgMetadata) String ¶
func (m *MsgMetadata) String() string
func (*MsgMetadata) Unmarshal ¶
func (m *MsgMetadata) Unmarshal(dAtA []byte) error
func (*MsgMetadata) XXX_DiscardUnknown ¶
func (m *MsgMetadata) XXX_DiscardUnknown()
func (*MsgMetadata) XXX_Marshal ¶
func (m *MsgMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMetadata) XXX_Merge ¶
func (m *MsgMetadata) XXX_Merge(src proto.Message)
func (*MsgMetadata) XXX_Size ¶
func (m *MsgMetadata) XXX_Size() int
func (*MsgMetadata) XXX_Unmarshal ¶
func (m *MsgMetadata) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { AddExternalChainInfoForValidator(context.Context, *MsgAddExternalChainInfoForValidator) (*MsgAddExternalChainInfoForValidatorResponse, error) KeepAlive(context.Context, *MsgKeepAlive) (*MsgKeepAliveResponse, error) }
MsgServer is the server API for Msg service.
type OnSnapshotBuiltListener ¶
TODO: Move this to metrix module to reduce dependencies
type Params ¶
type Params struct{}
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type PigeonRequirements ¶
type PigeonRequirements struct {
MinVersion string `protobuf:"bytes,1,opt,name=minVersion,proto3" json:"minVersion,omitempty"`
}
func (*PigeonRequirements) Descriptor ¶
func (*PigeonRequirements) Descriptor() ([]byte, []int)
func (*PigeonRequirements) GetMinVersion ¶
func (m *PigeonRequirements) GetMinVersion() string
func (*PigeonRequirements) Marshal ¶
func (m *PigeonRequirements) Marshal() (dAtA []byte, err error)
func (*PigeonRequirements) MarshalTo ¶
func (m *PigeonRequirements) MarshalTo(dAtA []byte) (int, error)
func (*PigeonRequirements) MarshalToSizedBuffer ¶
func (m *PigeonRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PigeonRequirements) ProtoMessage ¶
func (*PigeonRequirements) ProtoMessage()
func (*PigeonRequirements) Reset ¶
func (m *PigeonRequirements) Reset()
func (*PigeonRequirements) Size ¶
func (m *PigeonRequirements) Size() (n int)
func (*PigeonRequirements) String ¶
func (m *PigeonRequirements) String() string
func (*PigeonRequirements) Unmarshal ¶
func (m *PigeonRequirements) Unmarshal(dAtA []byte) error
func (*PigeonRequirements) XXX_DiscardUnknown ¶
func (m *PigeonRequirements) XXX_DiscardUnknown()
func (*PigeonRequirements) XXX_Marshal ¶
func (m *PigeonRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PigeonRequirements) XXX_Merge ¶
func (m *PigeonRequirements) XXX_Merge(src proto.Message)
func (*PigeonRequirements) XXX_Size ¶
func (m *PigeonRequirements) XXX_Size() int
func (*PigeonRequirements) XXX_Unmarshal ¶
func (m *PigeonRequirements) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of ValidatorInfo items. ValidatorInfo(ctx context.Context, in *QueryValidatorInfoRequest, opts ...grpc.CallOption) (*QueryValidatorInfoResponse, error) // Queries a list of GetSnapshotByID items. GetSnapshotByID(ctx context.Context, in *QueryGetSnapshotByIDRequest, opts ...grpc.CallOption) (*QueryGetSnapshotByIDResponse, error) // Queries the most recent published snapshot for a chain. GetLatestPublishedSnapshot(ctx context.Context, in *QueryGetLatestPublishedSnapshotRequest, opts ...grpc.CallOption) (*QueryGetLatestPublishedSnapshotResponse, error) // Queries a list of GetValidatorAliveUntil items. GetValidatorAliveUntil(ctx context.Context, in *QueryGetValidatorAliveUntilRequest, opts ...grpc.CallOption) (*QueryGetValidatorAliveUntilResponse, error) // Queries a list of GetValidatorJailReason items. GetValidatorJailReason(ctx context.Context, in *QueryGetValidatorJailReasonRequest, opts ...grpc.CallOption) (*QueryGetValidatorJailReasonResponse, error) // Queries a list of GetAlivePigeons items. GetAlivePigeons(ctx context.Context, in *QueryGetAlivePigeonsRequest, opts ...grpc.CallOption) (*QueryGetAlivePigeonsResponse, error) // Queries the PigeonRequirements GetPigeonRequirements(ctx context.Context, in *QueryGetPigeonRequirementsRequest, opts ...grpc.CallOption) (*QueryGetPigeonRequirementsResponse, 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 QueryGetAlivePigeonsRequest ¶
type QueryGetAlivePigeonsRequest struct{}
func (*QueryGetAlivePigeonsRequest) Descriptor ¶
func (*QueryGetAlivePigeonsRequest) Descriptor() ([]byte, []int)
func (*QueryGetAlivePigeonsRequest) Marshal ¶
func (m *QueryGetAlivePigeonsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetAlivePigeonsRequest) MarshalTo ¶
func (m *QueryGetAlivePigeonsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAlivePigeonsRequest) MarshalToSizedBuffer ¶
func (m *QueryGetAlivePigeonsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAlivePigeonsRequest) ProtoMessage ¶
func (*QueryGetAlivePigeonsRequest) ProtoMessage()
func (*QueryGetAlivePigeonsRequest) Reset ¶
func (m *QueryGetAlivePigeonsRequest) Reset()
func (*QueryGetAlivePigeonsRequest) Size ¶
func (m *QueryGetAlivePigeonsRequest) Size() (n int)
func (*QueryGetAlivePigeonsRequest) String ¶
func (m *QueryGetAlivePigeonsRequest) String() string
func (*QueryGetAlivePigeonsRequest) Unmarshal ¶
func (m *QueryGetAlivePigeonsRequest) Unmarshal(dAtA []byte) error
func (*QueryGetAlivePigeonsRequest) XXX_DiscardUnknown ¶
func (m *QueryGetAlivePigeonsRequest) XXX_DiscardUnknown()
func (*QueryGetAlivePigeonsRequest) XXX_Marshal ¶
func (m *QueryGetAlivePigeonsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAlivePigeonsRequest) XXX_Merge ¶
func (m *QueryGetAlivePigeonsRequest) XXX_Merge(src proto.Message)
func (*QueryGetAlivePigeonsRequest) XXX_Size ¶
func (m *QueryGetAlivePigeonsRequest) XXX_Size() int
func (*QueryGetAlivePigeonsRequest) XXX_Unmarshal ¶
func (m *QueryGetAlivePigeonsRequest) XXX_Unmarshal(b []byte) error
type QueryGetAlivePigeonsResponse ¶
type QueryGetAlivePigeonsResponse struct {
AliveValidators []*QueryGetAlivePigeonsResponse_ValidatorAlive `protobuf:"bytes,1,rep,name=aliveValidators,proto3" json:"aliveValidators,omitempty"`
}
func (*QueryGetAlivePigeonsResponse) Descriptor ¶
func (*QueryGetAlivePigeonsResponse) Descriptor() ([]byte, []int)
func (*QueryGetAlivePigeonsResponse) GetAliveValidators ¶
func (m *QueryGetAlivePigeonsResponse) GetAliveValidators() []*QueryGetAlivePigeonsResponse_ValidatorAlive
func (*QueryGetAlivePigeonsResponse) Marshal ¶
func (m *QueryGetAlivePigeonsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetAlivePigeonsResponse) MarshalTo ¶
func (m *QueryGetAlivePigeonsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAlivePigeonsResponse) MarshalToSizedBuffer ¶
func (m *QueryGetAlivePigeonsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAlivePigeonsResponse) ProtoMessage ¶
func (*QueryGetAlivePigeonsResponse) ProtoMessage()
func (*QueryGetAlivePigeonsResponse) Reset ¶
func (m *QueryGetAlivePigeonsResponse) Reset()
func (*QueryGetAlivePigeonsResponse) Size ¶
func (m *QueryGetAlivePigeonsResponse) Size() (n int)
func (*QueryGetAlivePigeonsResponse) String ¶
func (m *QueryGetAlivePigeonsResponse) String() string
func (*QueryGetAlivePigeonsResponse) Unmarshal ¶
func (m *QueryGetAlivePigeonsResponse) Unmarshal(dAtA []byte) error
func (*QueryGetAlivePigeonsResponse) XXX_DiscardUnknown ¶
func (m *QueryGetAlivePigeonsResponse) XXX_DiscardUnknown()
func (*QueryGetAlivePigeonsResponse) XXX_Marshal ¶
func (m *QueryGetAlivePigeonsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAlivePigeonsResponse) XXX_Merge ¶
func (m *QueryGetAlivePigeonsResponse) XXX_Merge(src proto.Message)
func (*QueryGetAlivePigeonsResponse) XXX_Size ¶
func (m *QueryGetAlivePigeonsResponse) XXX_Size() int
func (*QueryGetAlivePigeonsResponse) XXX_Unmarshal ¶
func (m *QueryGetAlivePigeonsResponse) XXX_Unmarshal(b []byte) error
type QueryGetAlivePigeonsResponse_ValidatorAlive ¶
type QueryGetAlivePigeonsResponse_ValidatorAlive struct { ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */ Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` AliveUntilBlockHeight int64 `protobuf:"varint,5,opt,name=aliveUntilBlockHeight,proto3" json:"aliveUntilBlockHeight,omitempty"` PigeonVersion string `protobuf:"bytes,6,opt,name=pigeon_version,json=pigeonVersion,proto3" json:"pigeon_version,omitempty"` }
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) Descriptor ¶
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) Descriptor() ([]byte, []int)
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) GetAliveUntilBlockHeight ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) GetAliveUntilBlockHeight() int64
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) GetError ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) GetError() string
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) GetPigeonVersion ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) GetPigeonVersion() string
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) GetValAddress ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) Marshal ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) Marshal() (dAtA []byte, err error)
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) MarshalTo ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) MarshalToSizedBuffer ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) ProtoMessage ¶
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) ProtoMessage()
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) Reset ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) Reset()
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) Size ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) Size() (n int)
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) String ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) String() string
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) Unmarshal ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) Unmarshal(dAtA []byte) error
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_DiscardUnknown ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_DiscardUnknown()
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Marshal ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Merge ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Merge(src proto.Message)
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Size ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Size() int
func (*QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Unmarshal ¶
func (m *QueryGetAlivePigeonsResponse_ValidatorAlive) XXX_Unmarshal(b []byte) error
type QueryGetLatestPublishedSnapshotRequest ¶
type QueryGetLatestPublishedSnapshotRequest struct {
ChainReferenceID string `protobuf:"bytes,1,opt,name=chainReferenceID,proto3" json:"chainReferenceID,omitempty"`
}
func (*QueryGetLatestPublishedSnapshotRequest) Descriptor ¶
func (*QueryGetLatestPublishedSnapshotRequest) Descriptor() ([]byte, []int)
func (*QueryGetLatestPublishedSnapshotRequest) GetChainReferenceID ¶
func (m *QueryGetLatestPublishedSnapshotRequest) GetChainReferenceID() string
func (*QueryGetLatestPublishedSnapshotRequest) Marshal ¶
func (m *QueryGetLatestPublishedSnapshotRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestPublishedSnapshotRequest) MarshalTo ¶
func (m *QueryGetLatestPublishedSnapshotRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestPublishedSnapshotRequest) MarshalToSizedBuffer ¶
func (m *QueryGetLatestPublishedSnapshotRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestPublishedSnapshotRequest) ProtoMessage ¶
func (*QueryGetLatestPublishedSnapshotRequest) ProtoMessage()
func (*QueryGetLatestPublishedSnapshotRequest) Reset ¶
func (m *QueryGetLatestPublishedSnapshotRequest) Reset()
func (*QueryGetLatestPublishedSnapshotRequest) Size ¶
func (m *QueryGetLatestPublishedSnapshotRequest) Size() (n int)
func (*QueryGetLatestPublishedSnapshotRequest) String ¶
func (m *QueryGetLatestPublishedSnapshotRequest) String() string
func (*QueryGetLatestPublishedSnapshotRequest) Unmarshal ¶
func (m *QueryGetLatestPublishedSnapshotRequest) Unmarshal(dAtA []byte) error
func (*QueryGetLatestPublishedSnapshotRequest) XXX_DiscardUnknown ¶
func (m *QueryGetLatestPublishedSnapshotRequest) XXX_DiscardUnknown()
func (*QueryGetLatestPublishedSnapshotRequest) XXX_Marshal ¶
func (m *QueryGetLatestPublishedSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestPublishedSnapshotRequest) XXX_Merge ¶
func (m *QueryGetLatestPublishedSnapshotRequest) XXX_Merge(src proto.Message)
func (*QueryGetLatestPublishedSnapshotRequest) XXX_Size ¶
func (m *QueryGetLatestPublishedSnapshotRequest) XXX_Size() int
func (*QueryGetLatestPublishedSnapshotRequest) XXX_Unmarshal ¶
func (m *QueryGetLatestPublishedSnapshotRequest) XXX_Unmarshal(b []byte) error
type QueryGetLatestPublishedSnapshotResponse ¶
type QueryGetLatestPublishedSnapshotResponse struct {
Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
}
func (*QueryGetLatestPublishedSnapshotResponse) Descriptor ¶
func (*QueryGetLatestPublishedSnapshotResponse) Descriptor() ([]byte, []int)
func (*QueryGetLatestPublishedSnapshotResponse) GetSnapshot ¶
func (m *QueryGetLatestPublishedSnapshotResponse) GetSnapshot() *Snapshot
func (*QueryGetLatestPublishedSnapshotResponse) Marshal ¶
func (m *QueryGetLatestPublishedSnapshotResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetLatestPublishedSnapshotResponse) MarshalTo ¶
func (m *QueryGetLatestPublishedSnapshotResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetLatestPublishedSnapshotResponse) MarshalToSizedBuffer ¶
func (m *QueryGetLatestPublishedSnapshotResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetLatestPublishedSnapshotResponse) ProtoMessage ¶
func (*QueryGetLatestPublishedSnapshotResponse) ProtoMessage()
func (*QueryGetLatestPublishedSnapshotResponse) Reset ¶
func (m *QueryGetLatestPublishedSnapshotResponse) Reset()
func (*QueryGetLatestPublishedSnapshotResponse) Size ¶
func (m *QueryGetLatestPublishedSnapshotResponse) Size() (n int)
func (*QueryGetLatestPublishedSnapshotResponse) String ¶
func (m *QueryGetLatestPublishedSnapshotResponse) String() string
func (*QueryGetLatestPublishedSnapshotResponse) Unmarshal ¶
func (m *QueryGetLatestPublishedSnapshotResponse) Unmarshal(dAtA []byte) error
func (*QueryGetLatestPublishedSnapshotResponse) XXX_DiscardUnknown ¶
func (m *QueryGetLatestPublishedSnapshotResponse) XXX_DiscardUnknown()
func (*QueryGetLatestPublishedSnapshotResponse) XXX_Marshal ¶
func (m *QueryGetLatestPublishedSnapshotResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetLatestPublishedSnapshotResponse) XXX_Merge ¶
func (m *QueryGetLatestPublishedSnapshotResponse) XXX_Merge(src proto.Message)
func (*QueryGetLatestPublishedSnapshotResponse) XXX_Size ¶
func (m *QueryGetLatestPublishedSnapshotResponse) XXX_Size() int
func (*QueryGetLatestPublishedSnapshotResponse) XXX_Unmarshal ¶
func (m *QueryGetLatestPublishedSnapshotResponse) XXX_Unmarshal(b []byte) error
type QueryGetPigeonRequirementsRequest ¶
type QueryGetPigeonRequirementsRequest struct{}
func (*QueryGetPigeonRequirementsRequest) Descriptor ¶
func (*QueryGetPigeonRequirementsRequest) Descriptor() ([]byte, []int)
func (*QueryGetPigeonRequirementsRequest) Marshal ¶
func (m *QueryGetPigeonRequirementsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPigeonRequirementsRequest) MarshalTo ¶
func (m *QueryGetPigeonRequirementsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPigeonRequirementsRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPigeonRequirementsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPigeonRequirementsRequest) ProtoMessage ¶
func (*QueryGetPigeonRequirementsRequest) ProtoMessage()
func (*QueryGetPigeonRequirementsRequest) Reset ¶
func (m *QueryGetPigeonRequirementsRequest) Reset()
func (*QueryGetPigeonRequirementsRequest) Size ¶
func (m *QueryGetPigeonRequirementsRequest) Size() (n int)
func (*QueryGetPigeonRequirementsRequest) String ¶
func (m *QueryGetPigeonRequirementsRequest) String() string
func (*QueryGetPigeonRequirementsRequest) Unmarshal ¶
func (m *QueryGetPigeonRequirementsRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPigeonRequirementsRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPigeonRequirementsRequest) XXX_DiscardUnknown()
func (*QueryGetPigeonRequirementsRequest) XXX_Marshal ¶
func (m *QueryGetPigeonRequirementsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPigeonRequirementsRequest) XXX_Merge ¶
func (m *QueryGetPigeonRequirementsRequest) XXX_Merge(src proto.Message)
func (*QueryGetPigeonRequirementsRequest) XXX_Size ¶
func (m *QueryGetPigeonRequirementsRequest) XXX_Size() int
func (*QueryGetPigeonRequirementsRequest) XXX_Unmarshal ¶
func (m *QueryGetPigeonRequirementsRequest) XXX_Unmarshal(b []byte) error
type QueryGetPigeonRequirementsResponse ¶
type QueryGetPigeonRequirementsResponse struct { PigeonRequirements *PigeonRequirements `protobuf:"bytes,1,opt,name=pigeonRequirements,proto3" json:"pigeonRequirements,omitempty"` ScheduledPigeonRequirements *ScheduledPigeonRequirements `protobuf:"bytes,2,opt,name=scheduledPigeonRequirements,proto3" json:"scheduledPigeonRequirements,omitempty"` }
func (*QueryGetPigeonRequirementsResponse) Descriptor ¶
func (*QueryGetPigeonRequirementsResponse) Descriptor() ([]byte, []int)
func (*QueryGetPigeonRequirementsResponse) GetPigeonRequirements ¶
func (m *QueryGetPigeonRequirementsResponse) GetPigeonRequirements() *PigeonRequirements
func (*QueryGetPigeonRequirementsResponse) GetScheduledPigeonRequirements ¶
func (m *QueryGetPigeonRequirementsResponse) GetScheduledPigeonRequirements() *ScheduledPigeonRequirements
func (*QueryGetPigeonRequirementsResponse) Marshal ¶
func (m *QueryGetPigeonRequirementsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPigeonRequirementsResponse) MarshalTo ¶
func (m *QueryGetPigeonRequirementsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPigeonRequirementsResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPigeonRequirementsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPigeonRequirementsResponse) ProtoMessage ¶
func (*QueryGetPigeonRequirementsResponse) ProtoMessage()
func (*QueryGetPigeonRequirementsResponse) Reset ¶
func (m *QueryGetPigeonRequirementsResponse) Reset()
func (*QueryGetPigeonRequirementsResponse) Size ¶
func (m *QueryGetPigeonRequirementsResponse) Size() (n int)
func (*QueryGetPigeonRequirementsResponse) String ¶
func (m *QueryGetPigeonRequirementsResponse) String() string
func (*QueryGetPigeonRequirementsResponse) Unmarshal ¶
func (m *QueryGetPigeonRequirementsResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPigeonRequirementsResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPigeonRequirementsResponse) XXX_DiscardUnknown()
func (*QueryGetPigeonRequirementsResponse) XXX_Marshal ¶
func (m *QueryGetPigeonRequirementsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPigeonRequirementsResponse) XXX_Merge ¶
func (m *QueryGetPigeonRequirementsResponse) XXX_Merge(src proto.Message)
func (*QueryGetPigeonRequirementsResponse) XXX_Size ¶
func (m *QueryGetPigeonRequirementsResponse) XXX_Size() int
func (*QueryGetPigeonRequirementsResponse) XXX_Unmarshal ¶
func (m *QueryGetPigeonRequirementsResponse) XXX_Unmarshal(b []byte) error
type QueryGetSnapshotByIDRequest ¶
type QueryGetSnapshotByIDRequest struct {
SnapshotId uint64 `protobuf:"varint,1,opt,name=snapshotId,proto3" json:"snapshotId,omitempty"`
}
func (*QueryGetSnapshotByIDRequest) Descriptor ¶
func (*QueryGetSnapshotByIDRequest) Descriptor() ([]byte, []int)
func (*QueryGetSnapshotByIDRequest) GetSnapshotId ¶
func (m *QueryGetSnapshotByIDRequest) GetSnapshotId() uint64
func (*QueryGetSnapshotByIDRequest) Marshal ¶
func (m *QueryGetSnapshotByIDRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetSnapshotByIDRequest) MarshalTo ¶
func (m *QueryGetSnapshotByIDRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetSnapshotByIDRequest) MarshalToSizedBuffer ¶
func (m *QueryGetSnapshotByIDRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetSnapshotByIDRequest) ProtoMessage ¶
func (*QueryGetSnapshotByIDRequest) ProtoMessage()
func (*QueryGetSnapshotByIDRequest) Reset ¶
func (m *QueryGetSnapshotByIDRequest) Reset()
func (*QueryGetSnapshotByIDRequest) Size ¶
func (m *QueryGetSnapshotByIDRequest) Size() (n int)
func (*QueryGetSnapshotByIDRequest) String ¶
func (m *QueryGetSnapshotByIDRequest) String() string
func (*QueryGetSnapshotByIDRequest) Unmarshal ¶
func (m *QueryGetSnapshotByIDRequest) Unmarshal(dAtA []byte) error
func (*QueryGetSnapshotByIDRequest) XXX_DiscardUnknown ¶
func (m *QueryGetSnapshotByIDRequest) XXX_DiscardUnknown()
func (*QueryGetSnapshotByIDRequest) XXX_Marshal ¶
func (m *QueryGetSnapshotByIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetSnapshotByIDRequest) XXX_Merge ¶
func (m *QueryGetSnapshotByIDRequest) XXX_Merge(src proto.Message)
func (*QueryGetSnapshotByIDRequest) XXX_Size ¶
func (m *QueryGetSnapshotByIDRequest) XXX_Size() int
func (*QueryGetSnapshotByIDRequest) XXX_Unmarshal ¶
func (m *QueryGetSnapshotByIDRequest) XXX_Unmarshal(b []byte) error
type QueryGetSnapshotByIDResponse ¶
type QueryGetSnapshotByIDResponse struct {
Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
}
func (*QueryGetSnapshotByIDResponse) Descriptor ¶
func (*QueryGetSnapshotByIDResponse) Descriptor() ([]byte, []int)
func (*QueryGetSnapshotByIDResponse) GetSnapshot ¶
func (m *QueryGetSnapshotByIDResponse) GetSnapshot() *Snapshot
func (*QueryGetSnapshotByIDResponse) Marshal ¶
func (m *QueryGetSnapshotByIDResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetSnapshotByIDResponse) MarshalTo ¶
func (m *QueryGetSnapshotByIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetSnapshotByIDResponse) MarshalToSizedBuffer ¶
func (m *QueryGetSnapshotByIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetSnapshotByIDResponse) ProtoMessage ¶
func (*QueryGetSnapshotByIDResponse) ProtoMessage()
func (*QueryGetSnapshotByIDResponse) Reset ¶
func (m *QueryGetSnapshotByIDResponse) Reset()
func (*QueryGetSnapshotByIDResponse) Size ¶
func (m *QueryGetSnapshotByIDResponse) Size() (n int)
func (*QueryGetSnapshotByIDResponse) String ¶
func (m *QueryGetSnapshotByIDResponse) String() string
func (*QueryGetSnapshotByIDResponse) Unmarshal ¶
func (m *QueryGetSnapshotByIDResponse) Unmarshal(dAtA []byte) error
func (*QueryGetSnapshotByIDResponse) XXX_DiscardUnknown ¶
func (m *QueryGetSnapshotByIDResponse) XXX_DiscardUnknown()
func (*QueryGetSnapshotByIDResponse) XXX_Marshal ¶
func (m *QueryGetSnapshotByIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetSnapshotByIDResponse) XXX_Merge ¶
func (m *QueryGetSnapshotByIDResponse) XXX_Merge(src proto.Message)
func (*QueryGetSnapshotByIDResponse) XXX_Size ¶
func (m *QueryGetSnapshotByIDResponse) XXX_Size() int
func (*QueryGetSnapshotByIDResponse) XXX_Unmarshal ¶
func (m *QueryGetSnapshotByIDResponse) XXX_Unmarshal(b []byte) error
type QueryGetValidatorAliveUntilRequest ¶
type QueryGetValidatorAliveUntilRequest struct {
ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */
}
func (*QueryGetValidatorAliveUntilRequest) Descriptor ¶
func (*QueryGetValidatorAliveUntilRequest) Descriptor() ([]byte, []int)
func (*QueryGetValidatorAliveUntilRequest) GetValAddress ¶
func (m *QueryGetValidatorAliveUntilRequest) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*QueryGetValidatorAliveUntilRequest) Marshal ¶
func (m *QueryGetValidatorAliveUntilRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetValidatorAliveUntilRequest) MarshalTo ¶
func (m *QueryGetValidatorAliveUntilRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetValidatorAliveUntilRequest) MarshalToSizedBuffer ¶
func (m *QueryGetValidatorAliveUntilRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetValidatorAliveUntilRequest) ProtoMessage ¶
func (*QueryGetValidatorAliveUntilRequest) ProtoMessage()
func (*QueryGetValidatorAliveUntilRequest) Reset ¶
func (m *QueryGetValidatorAliveUntilRequest) Reset()
func (*QueryGetValidatorAliveUntilRequest) Size ¶
func (m *QueryGetValidatorAliveUntilRequest) Size() (n int)
func (*QueryGetValidatorAliveUntilRequest) String ¶
func (m *QueryGetValidatorAliveUntilRequest) String() string
func (*QueryGetValidatorAliveUntilRequest) Unmarshal ¶
func (m *QueryGetValidatorAliveUntilRequest) Unmarshal(dAtA []byte) error
func (*QueryGetValidatorAliveUntilRequest) XXX_DiscardUnknown ¶
func (m *QueryGetValidatorAliveUntilRequest) XXX_DiscardUnknown()
func (*QueryGetValidatorAliveUntilRequest) XXX_Marshal ¶
func (m *QueryGetValidatorAliveUntilRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetValidatorAliveUntilRequest) XXX_Merge ¶
func (m *QueryGetValidatorAliveUntilRequest) XXX_Merge(src proto.Message)
func (*QueryGetValidatorAliveUntilRequest) XXX_Size ¶
func (m *QueryGetValidatorAliveUntilRequest) XXX_Size() int
func (*QueryGetValidatorAliveUntilRequest) XXX_Unmarshal ¶
func (m *QueryGetValidatorAliveUntilRequest) XXX_Unmarshal(b []byte) error
type QueryGetValidatorAliveUntilResponse ¶
type QueryGetValidatorAliveUntilResponse struct {
AliveUntilBlockHeight int64 `protobuf:"varint,2,opt,name=aliveUntilBlockHeight,proto3" json:"aliveUntilBlockHeight,omitempty"`
}
func (*QueryGetValidatorAliveUntilResponse) Descriptor ¶
func (*QueryGetValidatorAliveUntilResponse) Descriptor() ([]byte, []int)
func (*QueryGetValidatorAliveUntilResponse) GetAliveUntilBlockHeight ¶
func (m *QueryGetValidatorAliveUntilResponse) GetAliveUntilBlockHeight() int64
func (*QueryGetValidatorAliveUntilResponse) Marshal ¶
func (m *QueryGetValidatorAliveUntilResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetValidatorAliveUntilResponse) MarshalTo ¶
func (m *QueryGetValidatorAliveUntilResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetValidatorAliveUntilResponse) MarshalToSizedBuffer ¶
func (m *QueryGetValidatorAliveUntilResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetValidatorAliveUntilResponse) ProtoMessage ¶
func (*QueryGetValidatorAliveUntilResponse) ProtoMessage()
func (*QueryGetValidatorAliveUntilResponse) Reset ¶
func (m *QueryGetValidatorAliveUntilResponse) Reset()
func (*QueryGetValidatorAliveUntilResponse) Size ¶
func (m *QueryGetValidatorAliveUntilResponse) Size() (n int)
func (*QueryGetValidatorAliveUntilResponse) String ¶
func (m *QueryGetValidatorAliveUntilResponse) String() string
func (*QueryGetValidatorAliveUntilResponse) Unmarshal ¶
func (m *QueryGetValidatorAliveUntilResponse) Unmarshal(dAtA []byte) error
func (*QueryGetValidatorAliveUntilResponse) XXX_DiscardUnknown ¶
func (m *QueryGetValidatorAliveUntilResponse) XXX_DiscardUnknown()
func (*QueryGetValidatorAliveUntilResponse) XXX_Marshal ¶
func (m *QueryGetValidatorAliveUntilResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetValidatorAliveUntilResponse) XXX_Merge ¶
func (m *QueryGetValidatorAliveUntilResponse) XXX_Merge(src proto.Message)
func (*QueryGetValidatorAliveUntilResponse) XXX_Size ¶
func (m *QueryGetValidatorAliveUntilResponse) XXX_Size() int
func (*QueryGetValidatorAliveUntilResponse) XXX_Unmarshal ¶
func (m *QueryGetValidatorAliveUntilResponse) XXX_Unmarshal(b []byte) error
type QueryGetValidatorJailReasonRequest ¶
type QueryGetValidatorJailReasonRequest struct {
ValAddress github_com_cosmos_cosmos_sdk_types.ValAddress `` /* 128-byte string literal not displayed */
}
func (*QueryGetValidatorJailReasonRequest) Descriptor ¶
func (*QueryGetValidatorJailReasonRequest) Descriptor() ([]byte, []int)
func (*QueryGetValidatorJailReasonRequest) GetValAddress ¶
func (m *QueryGetValidatorJailReasonRequest) GetValAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*QueryGetValidatorJailReasonRequest) Marshal ¶
func (m *QueryGetValidatorJailReasonRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetValidatorJailReasonRequest) MarshalTo ¶
func (m *QueryGetValidatorJailReasonRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetValidatorJailReasonRequest) MarshalToSizedBuffer ¶
func (m *QueryGetValidatorJailReasonRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetValidatorJailReasonRequest) ProtoMessage ¶
func (*QueryGetValidatorJailReasonRequest) ProtoMessage()
func (*QueryGetValidatorJailReasonRequest) Reset ¶
func (m *QueryGetValidatorJailReasonRequest) Reset()
func (*QueryGetValidatorJailReasonRequest) Size ¶
func (m *QueryGetValidatorJailReasonRequest) Size() (n int)
func (*QueryGetValidatorJailReasonRequest) String ¶
func (m *QueryGetValidatorJailReasonRequest) String() string
func (*QueryGetValidatorJailReasonRequest) Unmarshal ¶
func (m *QueryGetValidatorJailReasonRequest) Unmarshal(dAtA []byte) error
func (*QueryGetValidatorJailReasonRequest) XXX_DiscardUnknown ¶
func (m *QueryGetValidatorJailReasonRequest) XXX_DiscardUnknown()
func (*QueryGetValidatorJailReasonRequest) XXX_Marshal ¶
func (m *QueryGetValidatorJailReasonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetValidatorJailReasonRequest) XXX_Merge ¶
func (m *QueryGetValidatorJailReasonRequest) XXX_Merge(src proto.Message)
func (*QueryGetValidatorJailReasonRequest) XXX_Size ¶
func (m *QueryGetValidatorJailReasonRequest) XXX_Size() int
func (*QueryGetValidatorJailReasonRequest) XXX_Unmarshal ¶
func (m *QueryGetValidatorJailReasonRequest) XXX_Unmarshal(b []byte) error
type QueryGetValidatorJailReasonResponse ¶
type QueryGetValidatorJailReasonResponse struct {
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
}
func (*QueryGetValidatorJailReasonResponse) Descriptor ¶
func (*QueryGetValidatorJailReasonResponse) Descriptor() ([]byte, []int)
func (*QueryGetValidatorJailReasonResponse) GetReason ¶
func (m *QueryGetValidatorJailReasonResponse) GetReason() string
func (*QueryGetValidatorJailReasonResponse) Marshal ¶
func (m *QueryGetValidatorJailReasonResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetValidatorJailReasonResponse) MarshalTo ¶
func (m *QueryGetValidatorJailReasonResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetValidatorJailReasonResponse) MarshalToSizedBuffer ¶
func (m *QueryGetValidatorJailReasonResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetValidatorJailReasonResponse) ProtoMessage ¶
func (*QueryGetValidatorJailReasonResponse) ProtoMessage()
func (*QueryGetValidatorJailReasonResponse) Reset ¶
func (m *QueryGetValidatorJailReasonResponse) Reset()
func (*QueryGetValidatorJailReasonResponse) Size ¶
func (m *QueryGetValidatorJailReasonResponse) Size() (n int)
func (*QueryGetValidatorJailReasonResponse) String ¶
func (m *QueryGetValidatorJailReasonResponse) String() string
func (*QueryGetValidatorJailReasonResponse) Unmarshal ¶
func (m *QueryGetValidatorJailReasonResponse) Unmarshal(dAtA []byte) error
func (*QueryGetValidatorJailReasonResponse) XXX_DiscardUnknown ¶
func (m *QueryGetValidatorJailReasonResponse) XXX_DiscardUnknown()
func (*QueryGetValidatorJailReasonResponse) XXX_Marshal ¶
func (m *QueryGetValidatorJailReasonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetValidatorJailReasonResponse) XXX_Merge ¶
func (m *QueryGetValidatorJailReasonResponse) XXX_Merge(src proto.Message)
func (*QueryGetValidatorJailReasonResponse) XXX_Size ¶
func (m *QueryGetValidatorJailReasonResponse) XXX_Size() int
func (*QueryGetValidatorJailReasonResponse) XXX_Unmarshal ¶
func (m *QueryGetValidatorJailReasonResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct{}
QueryParamsRequest is request type for the Query/Params RPC method.
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 holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of ValidatorInfo items. ValidatorInfo(context.Context, *QueryValidatorInfoRequest) (*QueryValidatorInfoResponse, error) // Queries a list of GetSnapshotByID items. GetSnapshotByID(context.Context, *QueryGetSnapshotByIDRequest) (*QueryGetSnapshotByIDResponse, error) // Queries the most recent published snapshot for a chain. GetLatestPublishedSnapshot(context.Context, *QueryGetLatestPublishedSnapshotRequest) (*QueryGetLatestPublishedSnapshotResponse, error) // Queries a list of GetValidatorAliveUntil items. GetValidatorAliveUntil(context.Context, *QueryGetValidatorAliveUntilRequest) (*QueryGetValidatorAliveUntilResponse, error) // Queries a list of GetValidatorJailReason items. GetValidatorJailReason(context.Context, *QueryGetValidatorJailReasonRequest) (*QueryGetValidatorJailReasonResponse, error) // Queries a list of GetAlivePigeons items. GetAlivePigeons(context.Context, *QueryGetAlivePigeonsRequest) (*QueryGetAlivePigeonsResponse, error) // Queries the PigeonRequirements GetPigeonRequirements(context.Context, *QueryGetPigeonRequirementsRequest) (*QueryGetPigeonRequirementsResponse, error) }
QueryServer is the server API for Query service.
type QueryValidatorInfoRequest ¶
type QueryValidatorInfoRequest struct {
ValAddr string `protobuf:"bytes,1,opt,name=valAddr,proto3" json:"valAddr,omitempty"`
}
func (*QueryValidatorInfoRequest) Descriptor ¶
func (*QueryValidatorInfoRequest) Descriptor() ([]byte, []int)
func (*QueryValidatorInfoRequest) GetValAddr ¶
func (m *QueryValidatorInfoRequest) GetValAddr() string
func (*QueryValidatorInfoRequest) Marshal ¶
func (m *QueryValidatorInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryValidatorInfoRequest) MarshalTo ¶
func (m *QueryValidatorInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryValidatorInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorInfoRequest) ProtoMessage ¶
func (*QueryValidatorInfoRequest) ProtoMessage()
func (*QueryValidatorInfoRequest) Reset ¶
func (m *QueryValidatorInfoRequest) Reset()
func (*QueryValidatorInfoRequest) Size ¶
func (m *QueryValidatorInfoRequest) Size() (n int)
func (*QueryValidatorInfoRequest) String ¶
func (m *QueryValidatorInfoRequest) String() string
func (*QueryValidatorInfoRequest) Unmarshal ¶
func (m *QueryValidatorInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryValidatorInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryValidatorInfoRequest) XXX_DiscardUnknown()
func (*QueryValidatorInfoRequest) XXX_Marshal ¶
func (m *QueryValidatorInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorInfoRequest) XXX_Merge ¶
func (m *QueryValidatorInfoRequest) XXX_Merge(src proto.Message)
func (*QueryValidatorInfoRequest) XXX_Size ¶
func (m *QueryValidatorInfoRequest) XXX_Size() int
func (*QueryValidatorInfoRequest) XXX_Unmarshal ¶
func (m *QueryValidatorInfoRequest) XXX_Unmarshal(b []byte) error
type QueryValidatorInfoResponse ¶
type QueryValidatorInfoResponse struct {
ChainInfos []*ExternalChainInfo `protobuf:"bytes,1,rep,name=chainInfos,proto3" json:"chainInfos,omitempty"`
}
func (*QueryValidatorInfoResponse) Descriptor ¶
func (*QueryValidatorInfoResponse) Descriptor() ([]byte, []int)
func (*QueryValidatorInfoResponse) GetChainInfos ¶
func (m *QueryValidatorInfoResponse) GetChainInfos() []*ExternalChainInfo
func (*QueryValidatorInfoResponse) Marshal ¶
func (m *QueryValidatorInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryValidatorInfoResponse) MarshalTo ¶
func (m *QueryValidatorInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryValidatorInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryValidatorInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryValidatorInfoResponse) ProtoMessage ¶
func (*QueryValidatorInfoResponse) ProtoMessage()
func (*QueryValidatorInfoResponse) Reset ¶
func (m *QueryValidatorInfoResponse) Reset()
func (*QueryValidatorInfoResponse) Size ¶
func (m *QueryValidatorInfoResponse) Size() (n int)
func (*QueryValidatorInfoResponse) String ¶
func (m *QueryValidatorInfoResponse) String() string
func (*QueryValidatorInfoResponse) Unmarshal ¶
func (m *QueryValidatorInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryValidatorInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryValidatorInfoResponse) XXX_DiscardUnknown()
func (*QueryValidatorInfoResponse) XXX_Marshal ¶
func (m *QueryValidatorInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryValidatorInfoResponse) XXX_Merge ¶
func (m *QueryValidatorInfoResponse) XXX_Merge(src proto.Message)
func (*QueryValidatorInfoResponse) XXX_Size ¶
func (m *QueryValidatorInfoResponse) XXX_Size() int
func (*QueryValidatorInfoResponse) XXX_Unmarshal ¶
func (m *QueryValidatorInfoResponse) XXX_Unmarshal(b []byte) error
type ScheduledPigeonRequirements ¶
type ScheduledPigeonRequirements struct { Requirements *PigeonRequirements `protobuf:"bytes,1,opt,name=requirements,proto3" json:"requirements,omitempty"` TargetBlockHeight uint64 `protobuf:"varint,2,opt,name=targetBlockHeight,proto3" json:"targetBlockHeight,omitempty"` }
func (*ScheduledPigeonRequirements) Descriptor ¶
func (*ScheduledPigeonRequirements) Descriptor() ([]byte, []int)
func (*ScheduledPigeonRequirements) GetRequirements ¶
func (m *ScheduledPigeonRequirements) GetRequirements() *PigeonRequirements
func (*ScheduledPigeonRequirements) GetTargetBlockHeight ¶
func (m *ScheduledPigeonRequirements) GetTargetBlockHeight() uint64
func (*ScheduledPigeonRequirements) Marshal ¶
func (m *ScheduledPigeonRequirements) Marshal() (dAtA []byte, err error)
func (*ScheduledPigeonRequirements) MarshalTo ¶
func (m *ScheduledPigeonRequirements) MarshalTo(dAtA []byte) (int, error)
func (*ScheduledPigeonRequirements) MarshalToSizedBuffer ¶
func (m *ScheduledPigeonRequirements) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScheduledPigeonRequirements) ProtoMessage ¶
func (*ScheduledPigeonRequirements) ProtoMessage()
func (*ScheduledPigeonRequirements) Reset ¶
func (m *ScheduledPigeonRequirements) Reset()
func (*ScheduledPigeonRequirements) Size ¶
func (m *ScheduledPigeonRequirements) Size() (n int)
func (*ScheduledPigeonRequirements) String ¶
func (m *ScheduledPigeonRequirements) String() string
func (*ScheduledPigeonRequirements) Unmarshal ¶
func (m *ScheduledPigeonRequirements) Unmarshal(dAtA []byte) error
func (*ScheduledPigeonRequirements) XXX_DiscardUnknown ¶
func (m *ScheduledPigeonRequirements) XXX_DiscardUnknown()
func (*ScheduledPigeonRequirements) XXX_Marshal ¶
func (m *ScheduledPigeonRequirements) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScheduledPigeonRequirements) XXX_Merge ¶
func (m *ScheduledPigeonRequirements) XXX_Merge(src proto.Message)
func (*ScheduledPigeonRequirements) XXX_Size ¶
func (m *ScheduledPigeonRequirements) XXX_Size() int
func (*ScheduledPigeonRequirements) XXX_Unmarshal ¶
func (m *ScheduledPigeonRequirements) XXX_Unmarshal(b []byte) error
type SetPigeonRequirementsProposal ¶
type SetPigeonRequirementsProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` MinVersion string `protobuf:"bytes,3,opt,name=minVersion,proto3" json:"minVersion,omitempty"` TargetBlockHeight uint64 `protobuf:"varint,4,opt,name=targetBlockHeight,proto3" json:"targetBlockHeight,omitempty"` }
func (*SetPigeonRequirementsProposal) Descriptor ¶
func (*SetPigeonRequirementsProposal) Descriptor() ([]byte, []int)
func (*SetPigeonRequirementsProposal) GetDescription ¶
func (m *SetPigeonRequirementsProposal) GetDescription() string
func (*SetPigeonRequirementsProposal) GetMinVersion ¶
func (m *SetPigeonRequirementsProposal) GetMinVersion() string
func (*SetPigeonRequirementsProposal) GetTargetBlockHeight ¶
func (m *SetPigeonRequirementsProposal) GetTargetBlockHeight() uint64
func (*SetPigeonRequirementsProposal) GetTitle ¶
func (m *SetPigeonRequirementsProposal) GetTitle() string
func (*SetPigeonRequirementsProposal) Marshal ¶
func (m *SetPigeonRequirementsProposal) Marshal() (dAtA []byte, err error)
func (*SetPigeonRequirementsProposal) MarshalTo ¶
func (m *SetPigeonRequirementsProposal) MarshalTo(dAtA []byte) (int, error)
func (*SetPigeonRequirementsProposal) MarshalToSizedBuffer ¶
func (m *SetPigeonRequirementsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SetPigeonRequirementsProposal) ProposalRoute ¶
func (a *SetPigeonRequirementsProposal) ProposalRoute() string
func (*SetPigeonRequirementsProposal) ProposalType ¶
func (a *SetPigeonRequirementsProposal) ProposalType() string
func (*SetPigeonRequirementsProposal) ProtoMessage ¶
func (*SetPigeonRequirementsProposal) ProtoMessage()
func (*SetPigeonRequirementsProposal) Reset ¶
func (m *SetPigeonRequirementsProposal) Reset()
func (*SetPigeonRequirementsProposal) Size ¶
func (m *SetPigeonRequirementsProposal) Size() (n int)
func (*SetPigeonRequirementsProposal) String ¶
func (m *SetPigeonRequirementsProposal) String() string
func (*SetPigeonRequirementsProposal) Unmarshal ¶
func (m *SetPigeonRequirementsProposal) Unmarshal(dAtA []byte) error
func (*SetPigeonRequirementsProposal) ValidateBasic ¶
func (a *SetPigeonRequirementsProposal) ValidateBasic() error
func (*SetPigeonRequirementsProposal) XXX_DiscardUnknown ¶
func (m *SetPigeonRequirementsProposal) XXX_DiscardUnknown()
func (*SetPigeonRequirementsProposal) XXX_Marshal ¶
func (m *SetPigeonRequirementsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetPigeonRequirementsProposal) XXX_Merge ¶
func (m *SetPigeonRequirementsProposal) XXX_Merge(src proto.Message)
func (*SetPigeonRequirementsProposal) XXX_Size ¶
func (m *SetPigeonRequirementsProposal) XXX_Size() int
func (*SetPigeonRequirementsProposal) XXX_Unmarshal ¶
func (m *SetPigeonRequirementsProposal) XXX_Unmarshal(b []byte) error
type SlashingKeeper ¶
type Snapshot ¶
type Snapshot struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Validators []Validator `protobuf:"bytes,3,rep,name=validators,proto3" json:"validators"` CreatedAt time.Time `protobuf:"bytes,5,opt,name=createdAt,proto3,stdtime" json:"createdAt"` Chains []string `protobuf:"bytes,6,rep,name=chains,proto3" json:"chains,omitempty"` }
func (*Snapshot) Descriptor ¶
func (*Snapshot) GetCreatedAt ¶
func (*Snapshot) GetValidator ¶
func (s *Snapshot) GetValidator(find sdk.ValAddress) (Validator, bool)
func (*Snapshot) GetValidators ¶
func (*Snapshot) MarshalToSizedBuffer ¶
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) XXX_DiscardUnknown ¶
func (m *Snapshot) XXX_DiscardUnknown()
func (*Snapshot) XXX_Marshal ¶
func (*Snapshot) XXX_Unmarshal ¶
type StakingKeeper ¶
type StakingKeeper interface { Validator(ctx context.Context, addr sdk.ValAddress) (stakingtypes.ValidatorI, error) IterateValidators(ctx context.Context, fn func(index int64, validator stakingtypes.ValidatorI) bool) error Jail(ctx context.Context, consAddr sdk.ConsAddress) error }
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct{}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddExternalChainInfoForValidator ¶
func (*UnimplementedMsgServer) AddExternalChainInfoForValidator(ctx context.Context, req *MsgAddExternalChainInfoForValidator) (*MsgAddExternalChainInfoForValidatorResponse, error)
func (*UnimplementedMsgServer) KeepAlive ¶
func (*UnimplementedMsgServer) KeepAlive(ctx context.Context, req *MsgKeepAlive) (*MsgKeepAliveResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct{}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GetAlivePigeons ¶
func (*UnimplementedQueryServer) GetAlivePigeons(ctx context.Context, req *QueryGetAlivePigeonsRequest) (*QueryGetAlivePigeonsResponse, error)
func (*UnimplementedQueryServer) GetLatestPublishedSnapshot ¶
func (*UnimplementedQueryServer) GetLatestPublishedSnapshot(ctx context.Context, req *QueryGetLatestPublishedSnapshotRequest) (*QueryGetLatestPublishedSnapshotResponse, error)
func (*UnimplementedQueryServer) GetPigeonRequirements ¶
func (*UnimplementedQueryServer) GetPigeonRequirements(ctx context.Context, req *QueryGetPigeonRequirementsRequest) (*QueryGetPigeonRequirementsResponse, error)
func (*UnimplementedQueryServer) GetSnapshotByID ¶
func (*UnimplementedQueryServer) GetSnapshotByID(ctx context.Context, req *QueryGetSnapshotByIDRequest) (*QueryGetSnapshotByIDResponse, error)
func (*UnimplementedQueryServer) GetValidatorAliveUntil ¶
func (*UnimplementedQueryServer) GetValidatorAliveUntil(ctx context.Context, req *QueryGetValidatorAliveUntilRequest) (*QueryGetValidatorAliveUntilResponse, error)
func (*UnimplementedQueryServer) GetValidatorJailReason ¶
func (*UnimplementedQueryServer) GetValidatorJailReason(ctx context.Context, req *QueryGetValidatorJailReasonRequest) (*QueryGetValidatorJailReasonResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ValidatorInfo ¶
func (*UnimplementedQueryServer) ValidatorInfo(ctx context.Context, req *QueryValidatorInfoRequest) (*QueryValidatorInfoResponse, error)
type Validator ¶
type Validator struct { State ValidatorState `protobuf:"varint,2,opt,name=state,proto3,enum=palomachain.paloma.valset.ValidatorState" json:"state,omitempty"` ExternalChainInfos []*ExternalChainInfo `protobuf:"bytes,3,rep,name=externalChainInfos,proto3" json:"externalChainInfos,omitempty"` Address github_com_cosmos_cosmos_sdk_types.ValAddress `protobuf:"bytes,4,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.ValAddress" json:"address,omitempty"` }
func (*Validator) Descriptor ¶
func (*Validator) GetAddress ¶
func (m *Validator) GetAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*Validator) GetExternalChainInfos ¶
func (m *Validator) GetExternalChainInfos() []*ExternalChainInfo
func (*Validator) GetState ¶
func (m *Validator) GetState() ValidatorState
func (*Validator) MarshalToSizedBuffer ¶
func (*Validator) ProtoMessage ¶
func (*Validator) ProtoMessage()
func (*Validator) XXX_DiscardUnknown ¶
func (m *Validator) XXX_DiscardUnknown()
func (*Validator) XXX_Marshal ¶
func (*Validator) XXX_Unmarshal ¶
type ValidatorExternalAccounts ¶
type ValidatorExternalAccounts struct { Address github_com_cosmos_cosmos_sdk_types.ValAddress `protobuf:"bytes,1,opt,name=address,proto3,casttype=github.com/cosmos/cosmos-sdk/types.ValAddress" json:"address,omitempty"` ExternalChainInfo []*ExternalChainInfo `protobuf:"bytes,2,rep,name=ExternalChainInfo,proto3" json:"ExternalChainInfo,omitempty"` }
func (*ValidatorExternalAccounts) Descriptor ¶
func (*ValidatorExternalAccounts) Descriptor() ([]byte, []int)
func (*ValidatorExternalAccounts) GetAddress ¶
func (m *ValidatorExternalAccounts) GetAddress() github_com_cosmos_cosmos_sdk_types.ValAddress
func (*ValidatorExternalAccounts) GetExternalChainInfo ¶
func (m *ValidatorExternalAccounts) GetExternalChainInfo() []*ExternalChainInfo
func (*ValidatorExternalAccounts) Marshal ¶
func (m *ValidatorExternalAccounts) Marshal() (dAtA []byte, err error)
func (*ValidatorExternalAccounts) MarshalTo ¶
func (m *ValidatorExternalAccounts) MarshalTo(dAtA []byte) (int, error)
func (*ValidatorExternalAccounts) MarshalToSizedBuffer ¶
func (m *ValidatorExternalAccounts) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorExternalAccounts) ProtoMessage ¶
func (*ValidatorExternalAccounts) ProtoMessage()
func (*ValidatorExternalAccounts) Reset ¶
func (m *ValidatorExternalAccounts) Reset()
func (*ValidatorExternalAccounts) Size ¶
func (m *ValidatorExternalAccounts) Size() (n int)
func (*ValidatorExternalAccounts) String ¶
func (m *ValidatorExternalAccounts) String() string
func (*ValidatorExternalAccounts) Unmarshal ¶
func (m *ValidatorExternalAccounts) Unmarshal(dAtA []byte) error
func (*ValidatorExternalAccounts) XXX_DiscardUnknown ¶
func (m *ValidatorExternalAccounts) XXX_DiscardUnknown()
func (*ValidatorExternalAccounts) XXX_Marshal ¶
func (m *ValidatorExternalAccounts) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorExternalAccounts) XXX_Merge ¶
func (m *ValidatorExternalAccounts) XXX_Merge(src proto.Message)
func (*ValidatorExternalAccounts) XXX_Size ¶
func (m *ValidatorExternalAccounts) XXX_Size() int
func (*ValidatorExternalAccounts) XXX_Unmarshal ¶
func (m *ValidatorExternalAccounts) XXX_Unmarshal(b []byte) error
type ValidatorState ¶
type ValidatorState int32
const ( ValidatorState_NONE ValidatorState = 0 ValidatorState_ACTIVE ValidatorState = 1 ValidatorState_JAILED ValidatorState = 2 )
func (ValidatorState) EnumDescriptor ¶
func (ValidatorState) EnumDescriptor() ([]byte, []int)
func (ValidatorState) String ¶
func (x ValidatorState) String() string
Source Files ¶
- codec.go
- common.go
- common.pb.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- gov_proposals.go
- jail.pb.go
- jail_reason.go
- keep_alive_data.go
- keys.go
- message_add_external_chain_info_for_validator.go
- message_keep_alive.go
- params.go
- params.pb.go
- pigeon_requirements.pb.go
- query.go
- query.pb.go
- query.pb.gw.go
- set_pigeon_requirements_proposal.pb.go
- snapshot.go
- snapshot.pb.go
- traits.go
- tx.pb.go
- types.go