|
|
@ -237,7 +237,8 @@ web3._extend({ |
|
|
|
new web3._extend.Method({ |
|
|
|
new web3._extend.Method({ |
|
|
|
name: 'printBlock', |
|
|
|
name: 'printBlock', |
|
|
|
call: 'debug_printBlock', |
|
|
|
call: 'debug_printBlock', |
|
|
|
params: 1 |
|
|
|
params: 1, |
|
|
|
|
|
|
|
outputFormatter: console.log |
|
|
|
}), |
|
|
|
}), |
|
|
|
new web3._extend.Method({ |
|
|
|
new web3._extend.Method({ |
|
|
|
name: 'getBlockRlp', |
|
|
|
name: 'getBlockRlp', |
|
|
@ -248,7 +249,7 @@ web3._extend({ |
|
|
|
name: 'testSignCliqueBlock', |
|
|
|
name: 'testSignCliqueBlock', |
|
|
|
call: 'debug_testSignCliqueBlock', |
|
|
|
call: 'debug_testSignCliqueBlock', |
|
|
|
params: 2, |
|
|
|
params: 2, |
|
|
|
inputFormatters: [web3._extend.formatters.inputAddressFormatter, null], |
|
|
|
inputFormatter: [web3._extend.formatters.inputAddressFormatter, null], |
|
|
|
}), |
|
|
|
}), |
|
|
|
new web3._extend.Method({ |
|
|
|
new web3._extend.Method({ |
|
|
|
name: 'setHead', |
|
|
|
name: 'setHead', |
|
|
@ -263,7 +264,8 @@ web3._extend({ |
|
|
|
new web3._extend.Method({ |
|
|
|
new web3._extend.Method({ |
|
|
|
name: 'dumpBlock', |
|
|
|
name: 'dumpBlock', |
|
|
|
call: 'debug_dumpBlock', |
|
|
|
call: 'debug_dumpBlock', |
|
|
|
params: 1 |
|
|
|
params: 1, |
|
|
|
|
|
|
|
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter] |
|
|
|
}), |
|
|
|
}), |
|
|
|
new web3._extend.Method({ |
|
|
|
new web3._extend.Method({ |
|
|
|
name: 'chaindbProperty', |
|
|
|
name: 'chaindbProperty', |
|
|
@ -415,7 +417,7 @@ web3._extend({ |
|
|
|
name: 'traceBlockByNumber', |
|
|
|
name: 'traceBlockByNumber', |
|
|
|
call: 'debug_traceBlockByNumber', |
|
|
|
call: 'debug_traceBlockByNumber', |
|
|
|
params: 2, |
|
|
|
params: 2, |
|
|
|
inputFormatter: [null, null] |
|
|
|
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter, null] |
|
|
|
}), |
|
|
|
}), |
|
|
|
new web3._extend.Method({ |
|
|
|
new web3._extend.Method({ |
|
|
|
name: 'traceBlockByHash', |
|
|
|
name: 'traceBlockByHash', |
|
|
@ -522,7 +524,8 @@ web3._extend({ |
|
|
|
new web3._extend.Method({ |
|
|
|
new web3._extend.Method({ |
|
|
|
name: 'getHeaderByNumber', |
|
|
|
name: 'getHeaderByNumber', |
|
|
|
call: 'eth_getHeaderByNumber', |
|
|
|
call: 'eth_getHeaderByNumber', |
|
|
|
params: 1 |
|
|
|
params: 1, |
|
|
|
|
|
|
|
inputFormatter: [web3._extend.formatters.inputBlockNumberFormatter] |
|
|
|
}), |
|
|
|
}), |
|
|
|
new web3._extend.Method({ |
|
|
|
new web3._extend.Method({ |
|
|
|
name: 'getHeaderByHash', |
|
|
|
name: 'getHeaderByHash', |
|
|
|