aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/javascript.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/javascript.go')
-rw-r--r--rpc/javascript.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/rpc/javascript.go b/rpc/javascript.go
index d6ffcdf22..475691a87 100644
--- a/rpc/javascript.go
+++ b/rpc/javascript.go
@@ -296,6 +296,12 @@ web3._extend({
params: 1
}),
new web3._extend.Method({
+ name: 'chaindbProperty',
+ call: 'debug_chaindbProperty',
+ params: 1,
+ outputFormatter: console.log
+ }),
+ new web3._extend.Method({
name: 'metrics',
call: 'debug_metrics',
params: 1
@@ -322,6 +328,16 @@ web3._extend({
outputFormatter: console.log
}),
new web3._extend.Method({
+ name: 'memStats',
+ call: 'debug_memStats',
+ params: 0,
+ }),
+ new web3._extend.Method({
+ name: 'gcStats',
+ call: 'debug_gcStats',
+ params: 0,
+ }),
+ new web3._extend.Method({
name: 'cpuProfile',
call: 'debug_cpuProfile',
params: 2