Documentation
¶
Overview ¶
Package ethstats implements the network stats reporting service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var EthstatsData = &EthstatsDataType{ kv: make(map[string]string), }
Arbitrary Data that can be included
Functions ¶
Types ¶
type ChainHeadEvent ¶
type ChainHeadEvent struct {
NewChain []*blockStub `json:"added"`
OldChain []*blockStub `json:"removed"`
Type string `json:"type"`
}
type EthstatsDataType ¶
type EthstatsDataType struct {
// contains filtered or unexported fields
}
func (*EthstatsDataType) AddKV ¶
func (e *EthstatsDataType) AddKV(key, val string)
Function to add data to EthstatsData
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.
Click to show internal directories.
Click to hide internal directories.