move alert, events, rpc into own repos

This commit is contained in:
Ethan Buchman
2016-01-12 19:15:10 -05:00
parent 96547d0ca8
commit 0be13d1d27
31 changed files with 57 additions and 1691 deletions
+3 -5
View File
@@ -1,6 +1,8 @@
package types
import (
// for registering EventData
"github.com/tendermint/go-events"
"github.com/tendermint/go-wire"
)
@@ -38,12 +40,8 @@ const (
EventDataTypeVote = byte(0x12)
)
type EventData interface {
AssertIsEventData()
}
var _ = wire.RegisterInterface(
struct{ EventData }{},
struct{ events.EventData }{},
wire.ConcreteType{EventDataNewBlock{}, EventDataTypeNewBlock},
// wire.ConcreteType{EventDataFork{}, EventDataTypeFork },
wire.ConcreteType{EventDataTx{}, EventDataTypeTx},