|
|
|
@ -1,5 +1,6 @@ |
|
|
|
|
|
|
|
|
|
var Blocks = function () { |
|
|
|
|
var Blocks = function (options) { |
|
|
|
|
this.coinbase = options.coinbase || "0x0000000000000000000000000000000000000000" |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Blocks.prototype.methods = function () { |
|
|
|
@ -17,7 +18,7 @@ Blocks.prototype.eth_getBlockByNumber = function (payload, cb) { |
|
|
|
|
'gasUsed': '0x0', |
|
|
|
|
'hash': '0xdb731f3622ef37b4da8db36903de029220dba74c41185f8429f916058b86559f', |
|
|
|
|
'logsBloom': '0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', |
|
|
|
|
'miner': '0x3333333333333333333333333333333333333333', |
|
|
|
|
'miner': this.coinbase, |
|
|
|
|
'mixHash': '0x0000000000000000000000000000000000000000000000000000000000000000', |
|
|
|
|
'nonce': '0x0000000000000042', |
|
|
|
|
'number': '0x0', |
|
|
|
|