Merge pull request #3605 from fjl/event-feed

event: add new Subscription type and related utilities
This commit is contained in:
Péter Szilágyi
2017-02-03 13:56:00 +02:00
committed by GitHub
15 changed files with 1256 additions and 49 deletions

View File

@ -47,7 +47,7 @@ type TxPool struct {
signer types.Signer
quit chan bool
eventMux *event.TypeMux
events event.Subscription
events *event.TypeMuxSubscription
mu sync.RWMutex
chain *LightChain
odr OdrBackend