aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/miner_js.go
diff options
context:
space:
mode:
Diffstat (limited to 'rpc/api/miner_js.go')
-rw-r--r--rpc/api/miner_js.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpc/api/miner_js.go b/rpc/api/miner_js.go
index 6290368da..fe4fa939e 100644
--- a/rpc/api/miner_js.go
+++ b/rpc/api/miner_js.go
@@ -20,6 +20,13 @@ web3._extend({
outputFormatter: web3._extend.formatters.formatOutputBool
}),
new web3._extend.Method({
+ name: 'setEtherbase',
+ call: 'miner_setEtherbase',
+ params: 1,
+ inputFormatter: [web3._extend.formatters.formatInputInt],
+ outputFormatter: web3._extend.formatters.formatOutputBool
+ }),
+ new web3._extend.Method({
name: 'setExtra',
call: 'miner_setExtra',
params: 1,