Misc updates to eliminate accidental geth imports

This commit is contained in:
Austin Roberts
2021-09-16 15:52:50 -05:00
parent fd68052ffa
commit a55f805606
16 changed files with 216 additions and 47 deletions
+12
View File
@@ -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
}
-5
View File
@@ -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