bring back EventSubscriber

This commit is contained in:
Anton Kaliaev
2019-02-01 15:28:25 +04:00
parent 1be7e341b1
commit 4257407aea
9 changed files with 97 additions and 46 deletions

View File

@ -1,7 +1,5 @@
package client
import "github.com/tendermint/tendermint/types"
// ABCIQueryOptions can be used to provide options for ABCIQuery call other
// than the DefaultABCIQueryOptions.
type ABCIQueryOptions struct {
@ -11,9 +9,3 @@ type ABCIQueryOptions struct {
// DefaultABCIQueryOptions are latest height (0) and prove false.
var DefaultABCIQueryOptions = ABCIQueryOptions{Height: 0, Prove: false}
// EventMessage combines event data and tags.
type EventMessage struct {
Data types.TMEventData
Tags map[string]string
}