Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginBlocker ¶
BeginBlocker will persist the current header and validator set as a historical entry and prune the oldest entry based on the HistoricalEntries parameter
func EndBlocker ¶
EndBlocker called at every block, update validator set
Types ¶
type AppModule ¶
func NewAppModule ¶
func NewAppModule(cdc codec.Codec, keeper *keeper.Keeper, ak stakingtypes.AccountKeeper, bk stakingtypes.BankKeeper, ls exported.Subspace) AppModule
NewAppModule creates a new AppModule object
func (AppModule) BeginBlock ¶
BeginBlock returns the begin blocker for the staking module.
Click to show internal directories.
Click to hide internal directories.