mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
ethstats: remove miner and hashrate flags
This commit is contained in:
parent
d7f39782ce
commit
6b21155432
1 changed files with 3 additions and 3 deletions
|
|
@ -774,10 +774,10 @@ type nodeStats struct {
|
||||||
Uptime int `json:"uptime"`
|
Uptime int `json:"uptime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// reportStats retrieves various stats about the node at the networking and
|
// reportStats retrieves various stats about the node at the networking layer
|
||||||
// mining layer and reports it to the stats server.
|
// and reports it to the stats server.
|
||||||
func (s *Service) reportStats(conn *connWrapper) error {
|
func (s *Service) reportStats(conn *connWrapper) error {
|
||||||
// Gather the syncing and mining infos from the local miner instance
|
// Gather the syncing infos from the local miner instance
|
||||||
var (
|
var (
|
||||||
syncing bool
|
syncing bool
|
||||||
gasprice int
|
gasprice int
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue