djzh2/x/djzh/abci.go

18 lines
623 B
Go
Raw Normal View History

2020-05-02 16:08:54 +08:00
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
}