TMSP -> ABCI

This commit is contained in:
Jae Kwon
2017-01-14 20:42:47 -08:00
parent 8a6e4095b7
commit 6cb95498fd
12 changed files with 108 additions and 106 deletions
+4 -4
View File
@@ -1,15 +1,15 @@
package types
import (
tmsp "github.com/tendermint/tmsp/types"
abci "github.com/tendermint/abci/types"
)
type Plugin interface {
SetOption(store KVStore, key string, value string) (log string)
RunTx(store KVStore, ctx CallContext, txBytes []byte) (res tmsp.Result)
InitChain(store KVStore, vals []*tmsp.Validator)
RunTx(store KVStore, ctx CallContext, txBytes []byte) (res abci.Result)
InitChain(store KVStore, vals []*abci.Validator)
BeginBlock(store KVStore, height uint64)
EndBlock(store KVStore, height uint64) []*tmsp.Validator
EndBlock(store KVStore, height uint64) []*abci.Validator
}
type NamedPlugin struct {