|
|
@ -1199,7 +1199,7 @@ func RegisterShhService(stack *node.Node, cfg *whisper.Config) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// RegisterEthStatsService configures the Ethereum Stats daemon and adds it to
|
|
|
|
// RegisterEthStatsService configures the Ethereum Stats daemon and adds it to
|
|
|
|
// th egiven node.
|
|
|
|
// the given node.
|
|
|
|
func RegisterEthStatsService(stack *node.Node, url string) { |
|
|
|
func RegisterEthStatsService(stack *node.Node, url string) { |
|
|
|
if err := stack.Register(func(ctx *node.ServiceContext) (node.Service, error) { |
|
|
|
if err := stack.Register(func(ctx *node.ServiceContext) (node.Service, error) { |
|
|
|
// Retrieve both eth and les services
|
|
|
|
// Retrieve both eth and les services
|
|
|
|