|
|
@ -2,10 +2,10 @@ package types |
|
|
|
|
|
|
|
import ( |
|
|
|
// for registering TMEventData as events.EventData
|
|
|
|
abci "github.com/tendermint/abci/types" |
|
|
|
. "github.com/tendermint/go-common" |
|
|
|
"github.com/tendermint/go-events" |
|
|
|
"github.com/tendermint/go-wire" |
|
|
|
abci "github.com/tendermint/abci/types" |
|
|
|
) |
|
|
|
|
|
|
|
// Functions to generate eventId strings
|
|
|
@ -73,11 +73,12 @@ type EventDataNewBlockHeader struct { |
|
|
|
|
|
|
|
// All txs fire EventDataTx
|
|
|
|
type EventDataTx struct { |
|
|
|
Tx Tx `json:"tx"` |
|
|
|
Data []byte `json:"data"` |
|
|
|
Log string `json:"log"` |
|
|
|
Code abci.CodeType `json:"code"` |
|
|
|
Error string `json:"error"` // this is redundant information for now
|
|
|
|
Height int `json:"height"` |
|
|
|
Tx Tx `json:"tx"` |
|
|
|
Data []byte `json:"data"` |
|
|
|
Log string `json:"log"` |
|
|
|
Code abci.CodeType `json:"code"` |
|
|
|
Error string `json:"error"` // this is redundant information for now
|
|
|
|
} |
|
|
|
|
|
|
|
// NOTE: This goes into the replay WAL
|
|
|
|