Documentation ¶
Overview ¶
Package ethstats implements the network stats reporting service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DelegateSignMessage ¶
type DelegateSignMessage struct { PeerID enode.ID Payload StatsPayload }
DelegateSignMessage Payload to be signed with the peer that sent it
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements an Ethereum netstats reporting daemon that pushes local chain statistics up to a monitoring server.
func (*Service) Protocols ¶
Protocols implements node.Service, returning the P2P network protocols used by the stats service (nil as it doesn't use the devp2p overlay network).
type StatsPayload ¶
type StatsPayload struct { Action string `json:"action"` Stats interface{} `json:"stats"` }
StatsPayload todo: document this
Click to show internal directories.
Click to hide internal directories.