aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/admin_js.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-06-24 01:19:33 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-06-24 01:19:33 +0800
commit72e2613a9fe3205fa5a67b72b832e03b2357ee88 (patch)
treebbc987510d279d9e174ff8f684158d668131661e /rpc/api/admin_js.go
parent5daf8729be88eca87b302ebf7a46fc69cad0f6d0 (diff)
parent67e6f74e9af00ff011a6a02f18644804eb18cdaa (diff)
downloaddexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar
dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.gz
dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.bz2
dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.lz
dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.xz
dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.tar.zst
dexon-72e2613a9fe3205fa5a67b72b832e03b2357ee88.zip
Merge branch 'release/0.9.32'
Diffstat (limited to 'rpc/api/admin_js.go')
-rw-r--r--rpc/api/admin_js.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/rpc/api/admin_js.go b/rpc/api/admin_js.go
index c3e713c67..97642ade7 100644
--- a/rpc/api/admin_js.go
+++ b/rpc/api/admin_js.go
@@ -39,6 +39,20 @@ web3._extend({
params: 1,
inputFormatter: [web3._extend.utils.formatInputString],
outputFormatter: web3._extend.formatters.formatOutputString
+ }),
+ new web3._extend.Method({
+ name: 'startRPC',
+ call: 'admin_startRPC',
+ params: 4,
+ inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputInteger,web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
+ outputFormatter: web3._extend.formatters.formatOutputBool
+ }),
+ new web3._extend.Method({
+ name: 'stopRPC',
+ call: 'admin_stopRPC',
+ params: 0,
+ inputFormatter: [],
+ outputFormatter: web3._extend.formatters.formatOutputBool
})
],
properties: