diff options
author | Felix Lange <fjl@twurst.com> | 2016-02-20 21:36:34 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-04-13 18:08:07 +0800 |
commit | bcd8aeefdd40174a7fb1dd320b00f090d8986f11 (patch) | |
tree | ee473034881b67166405b2c91f08b43d92788837 /rpc/javascript.go | |
parent | 05e257c22cbdbf689634927557bcab05f2befad0 (diff) | |
download | dexon-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.go | 6 |
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 |