Documentation ¶
Index ¶
- type Module
- func (m *Module) GetSigningInfo(height int64, consAddr sdk.ConsAddress) (types.ValidatorSigningInfo, error)
- func (m *Module) HandleBlock(block *tmctypes.ResultBlock, results *tmctypes.ResultBlockResults, ...) error
- func (m *Module) HandleGenesis(doc *tmtypes.GenesisDoc, appState map[string]json.RawMessage) error
- func (m *Module) Name() string
- func (m *Module) UpdateParams(height int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represent x/slashing module
func (*Module) GetSigningInfo ¶
func (m *Module) GetSigningInfo(height int64, consAddr sdk.ConsAddress) (types.ValidatorSigningInfo, error)
GetSigningInfo returns the signing info for the validator having the given consensus address at the specified height
func (*Module) HandleBlock ¶
func (m *Module) HandleBlock( block *tmctypes.ResultBlock, results *tmctypes.ResultBlockResults, _ []*juno.Tx, _ *tmctypes.ResultValidators, ) error
HandleBlock implements BlockModule
func (*Module) HandleGenesis ¶
func (m *Module) HandleGenesis(doc *tmtypes.GenesisDoc, appState map[string]json.RawMessage) error
HandleGenesis implements modules.Module
func (*Module) UpdateParams ¶
UpdateParams gets the slashing params for the given height, and stores them inside the database
Source Files ¶
Click to show internal directories.
Click to hide internal directories.