cmd,eth,rpc,tests: default coinbase

This commit is contained in:
Jeffrey Wilcke
2015-07-07 10:32:05 +02:00
parent d764bd0584
commit 35cd355c14
10 changed files with 87 additions and 51 deletions

View File

@ -19,6 +19,13 @@ web3._extend({
inputFormatter: [web3._extend.formatters.formatInputInt],
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',