aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-25 23:55:06 +0800
committerFelix Lange <fjl@twurst.com>2016-11-25 23:55:06 +0800
commit4c8c5e2f7410d850ee6068b46c8b880f733743d4 (patch)
treec0070af77b249084355d4f659a09809d08633840 /les
parentd1a95c643eadd506f6ae85784d22c7823e411ee9 (diff)
downloaddexon-4c8c5e2f7410d850ee6068b46c8b880f733743d4.tar
dexon-4c8c5e2f7410d850ee6068b46c8b880f733743d4.tar.gz
dexon-4c8c5e2f7410d850ee6068b46c8b880f733743d4.tar.bz2
dexon-4c8c5e2f7410d850ee6068b46c8b880f733743d4.tar.lz
dexon-4c8c5e2f7410d850ee6068b46c8b880f733743d4.tar.xz
dexon-4c8c5e2f7410d850ee6068b46c8b880f733743d4.tar.zst
dexon-4c8c5e2f7410d850ee6068b46c8b880f733743d4.zip
cmd, ethstats, les, mobile, params: native netstats (#3336)
Diffstat (limited to 'les')
-rw-r--r--les/backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/les/backend.go b/les/backend.go
index 774fa8eab..726664227 100644
--- a/les/backend.go
+++ b/les/backend.go
@@ -180,6 +180,7 @@ func (s *LightEthereum) BlockChain() *light.LightChain { return s.blockchai
func (s *LightEthereum) TxPool() *light.TxPool { return s.txPool }
func (s *LightEthereum) LesVersion() int { return int(s.protocolManager.SubProtocols[0].Version) }
func (s *LightEthereum) Downloader() *downloader.Downloader { return s.protocolManager.downloader }
+func (s *LightEthereum) EventMux() *event.TypeMux { return s.eventMux }
// Protocols implements node.Service, returning all the currently configured
// network protocols to start.