aboutsummaryrefslogtreecommitdiffstats
path: root/node/node.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-01-26 21:39:21 +0800
committerFelix Lange <fjl@twurst.com>2016-01-28 20:36:11 +0800
commit3750d835a1697f6784c727074cc959dda33cdcf3 (patch)
tree6183747f1ce69b6bb1ed256e4dd9a1bba0031d69 /node/node.go
parente287b56b69cdf8340f679e9cfd229c959cc45e24 (diff)
downloaddexon-3750d835a1697f6784c727074cc959dda33cdcf3.tar.gz
dexon-3750d835a1697f6784c727074cc959dda33cdcf3.tar.zst
dexon-3750d835a1697f6784c727074cc959dda33cdcf3.zip
internal/debug: APIs for profiling and tracing
The debug package provides an RPC wrapper for glog settings and the debugging facilities of the Go runtime. They can be triggered through both command line flags and the IPC listener.
Diffstat (limited to 'node/node.go')
-rw-r--r--node/node.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/node/node.go b/node/node.go
index 3d077b0bd..4af111a41 100644
--- a/node/node.go
+++ b/node/node.go
@@ -26,6 +26,7 @@ import (
"syscall"
"github.com/ethereum/go-ethereum/event"
+ "github.com/ethereum/go-ethereum/internal/debug"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/rpc"
)
@@ -284,7 +285,7 @@ func (n *Node) APIs() []rpc.API {
}, {
Namespace: "debug",
Version: "1.0",
- Service: NewPrivateDebugAPI(n),
+ Service: debug.Handler,
}, {
Namespace: "debug",
Version: "1.0",