aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgon Elbre <egonelbre@gmail.com>2017-08-06 23:58:39 +0800
committerEgon Elbre <egonelbre@gmail.com>2017-08-07 18:32:19 +0800
commit3780d0b6f7722b506371fb197924a1087fa90a8c (patch)
tree08c39fe60ba54e06b914746dd68fb6a025fec1a3
parentb159cdd8dd33ba030e7af5aa144de43441e4f543 (diff)
downloadgo-tangerine-3780d0b6f7722b506371fb197924a1087fa90a8c.tar
go-tangerine-3780d0b6f7722b506371fb197924a1087fa90a8c.tar.gz
go-tangerine-3780d0b6f7722b506371fb197924a1087fa90a8c.tar.bz2
go-tangerine-3780d0b6f7722b506371fb197924a1087fa90a8c.tar.lz
go-tangerine-3780d0b6f7722b506371fb197924a1087fa90a8c.tar.xz
go-tangerine-3780d0b6f7722b506371fb197924a1087fa90a8c.tar.zst
go-tangerine-3780d0b6f7722b506371fb197924a1087fa90a8c.zip
ethstats: fix megacheck warnings
-rw-r--r--ethstats/ethstats.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go
index 333c975c9..b75c5e6da 100644
--- a/ethstats/ethstats.go
+++ b/ethstats/ethstats.go
@@ -39,7 +39,6 @@ import (
"github.com/ethereum/go-ethereum/event"
"github.com/ethereum/go-ethereum/les"
"github.com/ethereum/go-ethereum/log"
- "github.com/ethereum/go-ethereum/node"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/rpc"
"golang.org/x/net/websocket"
@@ -52,8 +51,6 @@ const historyUpdateRange = 50
// Service implements an Ethereum netstats reporting daemon that pushes local
// chain statistics up to a monitoring server.
type Service struct {
- stack *node.Node // Temporary workaround, remove when API finalized
-
server *p2p.Server // Peer-to-peer server to retrieve networking infos
eth *eth.Ethereum // Full Ethereum service if monitoring a full node
les *les.LightEthereum // Light Ethereum service if monitoring a light node