Change ABCI app to implement abci.BlockchainAware interface

This commit is contained in:
Matt Bell
2017-02-04 15:09:16 -08:00
parent 5c9d63c6e0
commit 4ea03bc9dd
2 changed files with 17 additions and 19 deletions
+3 -2
View File
@@ -2,6 +2,7 @@ package types
import (
"fmt"
abci "github.com/tendermint/abci/types"
)
@@ -16,8 +17,8 @@ type Plugin interface {
// Other ABCI message handlers
SetOption(store KVStore, key string, value string) (log string)
InitChain(store KVStore, vals []*abci.Validator)
BeginBlock(store KVStore, height uint64)
EndBlock(store KVStore, height uint64) []*abci.Validator
BeginBlock(store KVStore, hash []byte, header *abci.Header)
EndBlock(store KVStore, height uint64) abci.ResponseEndBlock
}
//----------------------------------------