aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/javascript.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-02-20 21:36:34 +0800
committerFelix Lange <fjl@twurst.com>2016-04-13 18:08:07 +0800
commitbcd8aeefdd40174a7fb1dd320b00f090d8986f11 (patch)
treeee473034881b67166405b2c91f08b43d92788837 /rpc/javascript.go
parent05e257c22cbdbf689634927557bcab05f2befad0 (diff)
downloaddexon-bcd8aeefdd40174a7fb1dd320b00f090d8986f11.tar.gz
dexon-bcd8aeefdd40174a7fb1dd320b00f090d8986f11.tar.zst
dexon-bcd8aeefdd40174a7fb1dd320b00f090d8986f11.zip
eth: add chaindbProperty to debug API
Diffstat (limited to 'rpc/javascript.go')
-rw-r--r--rpc/javascript.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpc/javascript.go b/rpc/javascript.go
index d6ffcdf22..166a5289c 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