aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/debug_js.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-01-21 20:36:50 +0800
committerFelix Lange <fjl@twurst.com>2016-01-21 20:37:38 +0800
commite4d794851b713b5a22147c570963ff76ec26c7d0 (patch)
treecd1820c20dd39203567454ec669482636a85ddbb /rpc/api/debug_js.go
parent0edcbc797f9ecf3d757b4ffcf1844a2ba8ec72ef (diff)
downloadgo-tangerine-e4d794851b713b5a22147c570963ff76ec26c7d0.tar
go-tangerine-e4d794851b713b5a22147c570963ff76ec26c7d0.tar.gz
go-tangerine-e4d794851b713b5a22147c570963ff76ec26c7d0.tar.bz2
go-tangerine-e4d794851b713b5a22147c570963ff76ec26c7d0.tar.lz
go-tangerine-e4d794851b713b5a22147c570963ff76ec26c7d0.tar.xz
go-tangerine-e4d794851b713b5a22147c570963ff76ec26c7d0.tar.zst
go-tangerine-e4d794851b713b5a22147c570963ff76ec26c7d0.zip
node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosity
Diffstat (limited to 'rpc/api/debug_js.go')
-rw-r--r--rpc/api/debug_js.go14
1 files changed, 13 insertions, 1 deletions
diff --git a/rpc/api/debug_js.go b/rpc/api/debug_js.go
index 03755ada0..030511add 100644
--- a/rpc/api/debug_js.go
+++ b/rpc/api/debug_js.go
@@ -62,7 +62,19 @@ web3._extend({
call: 'debug_metrics',
params: 1,
inputFormatter: [null]
- })
+ }),
+ new web3._extend.Method({
+ name: 'verbosity',
+ call: 'debug_verbosity',
+ params: 1,
+ inputFormatter: [web3._extend.utils.fromDecimal]
+ }),
+ new web3._extend.Method({
+ name: 'vmodule',
+ call: 'debug_vmodule',
+ params: 1,
+ inputFormatter: [null]
+ }),
],
properties:
[