Versions in this module Expand all Collapse all v0 v0.1.3 Nov 25, 2021 v0.1.1 Nov 25, 2021 Changes in this version + const AttributeKeyEvidenceHash + const AttributeValueCategory + const EventTypeSubmitEvidence + const ModuleName + const QuerierRoute + const QueryAllEvidence + const QueryEvidence + const RouteEquivocation + const RouterKey + const StoreKey + const TypeEquivocation + const TypeMsgSubmitEvidence + var DoubleSignJailEndTime = time.Unix(253402300799, 0) + var ErrEvidenceExists = sdkerrors.Register(ModuleName, 5, "evidence already exists") + var ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") + var ErrInvalidEvidence = sdkerrors.Register(ModuleName, 3, "invalid evidence") + var ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrNoEvidenceExists = sdkerrors.Register(ModuleName, 4, "evidence does not exist") + var ErrNoEvidenceHandlerExists = sdkerrors.Register(ModuleName, 2, "unregistered handler for evidence type") + var ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") + var KeyPrefixEvidence = []byte + var ModuleCdc = codec.NewHybridCodec(amino, types.NewInterfaceRegistry()) + func ConvertDuplicateVoteEvidence(dupVote abci.Evidence) exported.Evidence + func RegisterCodec(cdc *codec.Codec) + func RegisterInterfaces(registry types.InterfaceRegistry) + type Equivocation struct + ConsensusAddress github_com_cosmos_cosmos_sdk_types.ConsAddress + Height int64 + Power int64 + Time time.Time + func (*Equivocation) Descriptor() ([]byte, []int) + func (*Equivocation) ProtoMessage() + func (e *Equivocation) Hash() tmbytes.HexBytes + func (e *Equivocation) Route() string + func (e *Equivocation) String() string + func (e *Equivocation) Type() string + func (e *Equivocation) ValidateBasic() error + func (e Equivocation) GetConsensusAddress() sdk.ConsAddress + func (e Equivocation) GetHeight() int64 + func (e Equivocation) GetTime() time.Time + func (e Equivocation) GetTotalPower() int64 + func (e Equivocation) GetValidatorPower() int64 + func (m *Equivocation) Marshal() (dAtA []byte, err error) + func (m *Equivocation) MarshalTo(dAtA []byte) (int, error) + func (m *Equivocation) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Equivocation) Reset() + func (m *Equivocation) Size() (n int) + func (m *Equivocation) Unmarshal(dAtA []byte) error + func (m *Equivocation) XXX_DiscardUnknown() + func (m *Equivocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Equivocation) XXX_Merge(src proto.Message) + func (m *Equivocation) XXX_Size() int + func (m *Equivocation) XXX_Unmarshal(b []byte) error + func (this *Equivocation) Equal(that interface{}) bool + type GenesisState struct + Evidence []exported.Evidence + func DefaultGenesisState() GenesisState + func NewGenesisState(e []exported.Evidence) GenesisState + func (gs GenesisState) Validate() error + type Handler func(sdk.Context, exported.Evidence) error + type MsgSubmitEvidence struct + Evidence *types.Any + Submitter github_com_cosmos_cosmos_sdk_types.AccAddress + func NewMsgSubmitEvidence(s sdk.AccAddress, evi exported.Evidence) (MsgSubmitEvidence, error) + func (*MsgSubmitEvidence) Descriptor() ([]byte, []int) + func (*MsgSubmitEvidence) ProtoMessage() + func (m *MsgSubmitEvidence) Marshal() (dAtA []byte, err error) + func (m *MsgSubmitEvidence) MarshalTo(dAtA []byte) (int, error) + func (m *MsgSubmitEvidence) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *MsgSubmitEvidence) Reset() + func (m *MsgSubmitEvidence) Size() (n int) + func (m *MsgSubmitEvidence) String() string + func (m *MsgSubmitEvidence) Unmarshal(dAtA []byte) error + func (m *MsgSubmitEvidence) XXX_DiscardUnknown() + func (m *MsgSubmitEvidence) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *MsgSubmitEvidence) XXX_Merge(src proto.Message) + func (m *MsgSubmitEvidence) XXX_Size() int + func (m *MsgSubmitEvidence) XXX_Unmarshal(b []byte) error + func (m MsgSubmitEvidence) GetEvidence() exported.Evidence + func (m MsgSubmitEvidence) GetSignBytes() []byte + func (m MsgSubmitEvidence) GetSigners() []sdk.AccAddress + func (m MsgSubmitEvidence) GetSubmitter() sdk.AccAddress + func (m MsgSubmitEvidence) Route() string + func (m MsgSubmitEvidence) Type() string + func (m MsgSubmitEvidence) UnpackInterfaces(ctx types.AnyUnpacker) error + func (m MsgSubmitEvidence) ValidateBasic() error + func (this *MsgSubmitEvidence) Equal(that interface{}) bool + type QueryAllEvidenceParams struct + Limit int + Page int + func NewQueryAllEvidenceParams(page, limit int) QueryAllEvidenceParams + type QueryEvidenceParams struct + EvidenceHash string + func NewQueryEvidenceParams(hash string) QueryEvidenceParams + type Router interface + AddRoute func(r string, h Handler) Router + GetRoute func(path string) Handler + HasRoute func(r string) bool + Seal func() + Sealed func() bool + func NewRouter() Router + type SlashingKeeper interface + GetPubkey func(sdk.Context, crypto.Address) (crypto.PubKey, error) + HasValidatorSigningInfo func(sdk.Context, sdk.ConsAddress) bool + IsTombstoned func(sdk.Context, sdk.ConsAddress) bool + Jail func(sdk.Context, sdk.ConsAddress) + JailUntil func(sdk.Context, sdk.ConsAddress, time.Time) + Slash func(sdk.Context, sdk.ConsAddress, sdk.Dec, int64, int64) + SlashFractionDoubleSign func(sdk.Context) sdk.Dec + Tombstone func(sdk.Context, sdk.ConsAddress) + type StakingKeeper interface + ValidatorByConsAddr func(sdk.Context, sdk.ConsAddress) stakingexported.ValidatorI