Misc updates to eliminate accidental geth imports
This commit is contained in:
@@ -158,4 +158,16 @@ type Logger interface {
|
||||
|
||||
type PluginLoader interface {
|
||||
Lookup(name string, validate func(interface{}) bool) []interface{}
|
||||
GetFeed() Feed
|
||||
}
|
||||
|
||||
|
||||
type Subscription interface {
|
||||
Err() <-chan error // returns the error channel
|
||||
Unsubscribe() // cancels sending of events, closing the error channel
|
||||
}
|
||||
|
||||
type Feed interface {
|
||||
Send(interface{}) int
|
||||
Subscribe(channel interface{}) Subscription
|
||||
}
|
||||
|
||||
@@ -89,11 +89,6 @@ type NewTxsEvent struct{
|
||||
Txs [][]byte // []RLP encoded transaction
|
||||
}
|
||||
|
||||
type Subscription interface {
|
||||
Err() <-chan error // returns the error channel
|
||||
Unsubscribe() // cancels sending of events, closing the error channel
|
||||
}
|
||||
|
||||
type API struct {
|
||||
Namespace string
|
||||
Version string
|
||||
|
||||
Reference in New Issue
Block a user