New TMSP message BeginBlock

This commit is contained in:
Jae Kwon
2016-03-26 22:35:23 -07:00
parent 121db71f48
commit 82a411fca5
8 changed files with 151 additions and 64 deletions

View File

@ -29,6 +29,9 @@ type BlockchainAware interface {
// validators: genesis validators from TendermintCore
InitChain(validators []*Validator)
// Signals the beginning of a block
BeginBlock(height uint64)
// Signals the end of a block
// validators: changed validators from app to TendermintCore
EndBlock(height uint64) (validators []*Validator)