18 lines
623 B
Go
18 lines
623 B
Go
package djzh
|
|
|
|
import (
|
|
sdk "github.com/cosmos/cosmos-sdk/types"
|
|
abci "github.com/tendermint/tendermint/abci/types"
|
|
)
|
|
|
|
// BeginBlocker check for infraction evidence or downtime of validators
|
|
// on every begin block
|
|
func BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock, k Keeper) {
|
|
// TODO: fill out if your application requires beginblock, if not you can delete this function
|
|
}
|
|
|
|
// EndBlocker called every block, process inflation, update validator set.
|
|
func EndBlocker(ctx sdk.Context, k Keeper) {
|
|
// TODO: fill out if your application requires endblock, if not you can delete this function
|
|
}
|