Documentation ¶
Index ¶
- func GetMigrationHandler() func(ctx sdk.Context) error
- func NewMsgServerImpl(keeper Keeper, s types.Snapshotter, staker types.StakingKeeper, ...) types.MsgServiceServer
- type Keeper
- func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
- func (k Keeper) GetLastHeartbeatAt(ctx sdk.Context, participant sdk.ValAddress) int64
- func (k Keeper) GetParams(ctx sdk.Context) (params types.Params)
- func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) SetLastHeartbeatAt(ctx sdk.Context, participant sdk.ValAddress)
- func (k Keeper) SetParams(ctx sdk.Context, p types.Params)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMigrationHandler ¶ added in v0.18.0
GetMigrationHandler returns the handler that performs in-place store migrations from v0.19 to v0.20. The migration includes:
func NewMsgServerImpl ¶
func NewMsgServerImpl(keeper Keeper, s types.Snapshotter, staker types.StakingKeeper, multisig types.MultiSigKeeper) types.MsgServiceServer
NewMsgServerImpl returns an implementation of the broadcast MsgServiceServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
Keeper allows access to the broadcast state
func (Keeper) ExportGenesis ¶ added in v0.9.0
func (k Keeper) ExportGenesis(ctx sdk.Context) *types.GenesisState
ExportGenesis returns the tss module's genesis state.
func (Keeper) GetLastHeartbeatAt ¶ added in v0.27.0
GetLastHeartbeatAt returns the block height at where the last heartbeat from the given participant was received
func (Keeper) InitGenesis ¶ added in v0.9.0
func (k Keeper) InitGenesis(ctx sdk.Context, genState *types.GenesisState)
InitGenesis initializes the tss module's state from a given genesis state.
func (Keeper) SetLastHeartbeatAt ¶ added in v0.27.0
func (k Keeper) SetLastHeartbeatAt(ctx sdk.Context, participant sdk.ValAddress)
SetLastHeartbeatAt sets the block height at where the last heartbeat from the given participant was received
Click to show internal directories.
Click to hide internal directories.