Documentation ¶
Index ¶
- type Keeper
- func (k *Keeper) BeginBlock(ctx sdk.Context)
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k *Keeper) GetLastBlockTime(ctx sdk.Context) (time.Time, error)
- func (k *Keeper) GetLastDowntimeOfLength(ctx sdk.Context, dur types.Downtime) (time.Time, error)
- func (k *Keeper) InitGenesis(ctx sdk.Context, gen *types.GenesisState)
- func (k *Keeper) RecoveredSinceDowntimeOfLength(ctx sdk.Context, downtime types.Downtime, recoveryDuration time.Duration) (bool, error)
- func (k *Keeper) StoreLastBlockTime(ctx sdk.Context, t time.Time)
- func (k *Keeper) StoreLastDowntimeOfLength(ctx sdk.Context, dur types.Downtime, t time.Time)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (*Keeper) BeginBlock ¶
func (Keeper) ExportGenesis ¶
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis returns the downtime detector module's exported genesis.
func (*Keeper) GetLastBlockTime ¶
func (*Keeper) GetLastDowntimeOfLength ¶
func (*Keeper) InitGenesis ¶
func (k *Keeper) InitGenesis(ctx sdk.Context, gen *types.GenesisState)
func (*Keeper) RecoveredSinceDowntimeOfLength ¶
func (*Keeper) StoreLastBlockTime ¶
Click to show internal directories.
Click to hide internal directories.