diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-07 17:55:33 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-07 17:55:33 +0800 |
commit | e5fba8fd7025bb45a88a19c1bbef80db5bd3b688 (patch) | |
tree | b17726c936fcb695e26b2a145b5d423b8556871b /rpc/api/miner_js.go | |
parent | 916d1554675974adb92af4046e1b04ad3b26dca3 (diff) | |
parent | 37c1a8f69de44827a60296342189b6719a49dbc3 (diff) | |
download | go-tangerine-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar go-tangerine-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.gz go-tangerine-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.bz2 go-tangerine-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.lz go-tangerine-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.xz go-tangerine-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.zst go-tangerine-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.zip |
Merge pull request #1428 from obscuren/coinbase-fixes
cmd,eth,rpc,tests: default coinbase
Diffstat (limited to 'rpc/api/miner_js.go')
-rw-r--r-- | rpc/api/miner_js.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rpc/api/miner_js.go b/rpc/api/miner_js.go index 8861a177a..c205f6712 100644 --- a/rpc/api/miner_js.go +++ b/rpc/api/miner_js.go @@ -18,6 +18,13 @@ web3._extend({ inputFormatter: [null] }), 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, |