Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the bank MsgServer interface for the provided Keeper.
Types ¶
type Keeper ¶
type Keeper struct { slashingkeeper.Keeper // contains filtered or unexported fields }
Keeper define a slashing keeper
func NewKeeper ¶
func NewKeeper(slashingKeeper slashingkeeper.Keeper, nodeKeeper types.NodeKeeper) Keeper
NewKeeper creates a slashing keeper
func (Keeper) HandleUnjail ¶
HandleUnjail handles ths unjail msg
func (Keeper) HandleValidatorSignature ¶
func (k Keeper) HandleValidatorSignature(ctx sdk.Context, addr crypto.Address, power int64, signed bool)
HandleValidatorSignature handles a validator signature, must be called once per validator per block. Block all subsequent logic if this validator has been removed.
Click to show internal directories.
Click to hide internal directories.