Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
3780d0b6
Commit
3780d0b6
authored
Aug 06, 2017
by
Egon Elbre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ethstats: fix megacheck warnings
parent
b159cdd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
ethstats.go
ethstats/ethstats.go
+0
-3
No files found.
ethstats/ethstats.go
View file @
3780d0b6
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment