Commit 3601320c authored by Jeffrey Wilcke's avatar Jeffrey Wilcke Committed by Jeffrey Wilcke

eth, rpc: implemented block debugging rpc calls

Implemented the following block debugging RPC calls

* Block(RLP)
* BlockByFile(fileName)
* BlockByNumber(number)
* BlockByHash(hash)
parent 14013372
This diff is collapsed.
...@@ -291,9 +291,24 @@ web3._extend({ ...@@ -291,9 +291,24 @@ web3._extend({
params: 1 params: 1
}), }),
new web3._extend.Method({ new web3._extend.Method({
name: 'processBlock', name: 'traceBlock',
call: 'debug_processBlock', call: 'debug_traceBlock',
params: 1 params: 2
}),
new web3._extend.Method({
name: 'traceBlockByFile',
call: 'debug_traceBlockByFile',
params: 2
}),
new web3._extend.Method({
name: 'traceBlockByNumber',
call: 'debug_traceBlockByNumber',
params: 2
}),
new web3._extend.Method({
name: 'traceBlockByHash',
call: 'debug_traceBlockByHash',
params: 2
}), }),
new web3._extend.Method({ new web3._extend.Method({
name: 'seedHash', name: 'seedHash',
...@@ -382,9 +397,9 @@ web3._extend({ ...@@ -382,9 +397,9 @@ web3._extend({
params: 1 params: 1
}), }),
new web3._extend.Method({ new web3._extend.Method({
name: 'replayTransaction', name: 'traceTransaction',
call: 'debug_replayTransaction', call: 'debug_traceTransaction',
params: 4 params: 2
}) })
], ],
properties: [] properties: []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment