add version/block/config to Info. add header to BeginBlock

This commit is contained in:
Ethan Buchman
2016-11-16 13:32:01 -05:00
parent eece35eeeb
commit debbf122db
13 changed files with 414 additions and 149 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ func NewCounterApplication(serial bool) *CounterApplication {
return &CounterApplication{serial: serial}
}
func (app *CounterApplication) Info() string {
return Fmt("hashes:%v, txs:%v", app.hashCount, app.txCount)
func (app *CounterApplication) Info() (string, *types.TMSPInfo, *types.LastBlockInfo, *types.ConfigInfo) {
return Fmt("hashes:%v, txs:%v", app.hashCount, app.txCount), nil, nil, nil
}
func (app *CounterApplication) SetOption(key string, value string) (log string) {