|
@@ -26,6 +26,13 @@ web3._extend({
|
|
|
inputFormatter: [web3._extend.utils.formatInputString],
|
|
inputFormatter: [web3._extend.utils.formatInputString],
|
|
|
outputFormatter: function(obj) { return obj; }
|
|
outputFormatter: function(obj) { return obj; }
|
|
|
}),
|
|
}),
|
|
|
|
|
+ new web3._extend.Method({
|
|
|
|
|
+ name: 'sleepBlocks',
|
|
|
|
|
+ call: 'admin_sleepBlocks',
|
|
|
|
|
+ params: 2,
|
|
|
|
|
+ inputFormatter: [web3._extend.utils.formatInputInt,web3._extend.utils.formatInputInt],
|
|
|
|
|
+ outputFormatter: web3._extend.formatters.formatOutputInt
|
|
|
|
|
+ }),
|
|
|
new web3._extend.Method({
|
|
new web3._extend.Method({
|
|
|
name: 'verbosity',
|
|
name: 'verbosity',
|
|
|
call: 'admin_verbosity',
|
|
call: 'admin_verbosity',
|
|
@@ -68,6 +75,13 @@ web3._extend({
|
|
|
inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
|
|
inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
|
|
|
outputFormatter: web3._extend.formatters.formatOutputString
|
|
outputFormatter: web3._extend.formatters.formatOutputString
|
|
|
}),
|
|
}),
|
|
|
|
|
+ new web3._extend.Method({
|
|
|
|
|
+ name: 'setUrlHint',
|
|
|
|
|
+ call: 'admin_setUrlHint',
|
|
|
|
|
+ params: 2,
|
|
|
|
|
+ inputFormatter: [web3._extend.utils.formatInputString,web3._extend.utils.formatInputString],
|
|
|
|
|
+ outputFormatter: web3._extend.formatters.formatOutputString
|
|
|
|
|
+ }),
|
|
|
new web3._extend.Method({
|
|
new web3._extend.Method({
|
|
|
name: 'saveInfo',
|
|
name: 'saveInfo',
|
|
|
call: 'admin_saveInfo',
|
|
call: 'admin_saveInfo',
|
|
@@ -90,14 +104,14 @@ web3._extend({
|
|
|
outputFormatter: web3._extend.formatters.formatOutputBool
|
|
outputFormatter: web3._extend.formatters.formatOutputBool
|
|
|
}),
|
|
}),
|
|
|
new web3._extend.Method({
|
|
new web3._extend.Method({
|
|
|
- name: 'StartNatSpec',
|
|
|
|
|
|
|
+ name: 'startNatSpec',
|
|
|
call: 'admin_startNatSpec',
|
|
call: 'admin_startNatSpec',
|
|
|
params: 0,
|
|
params: 0,
|
|
|
inputFormatter: [],
|
|
inputFormatter: [],
|
|
|
outputFormatter: web3._extend.formatters.formatOutputBool
|
|
outputFormatter: web3._extend.formatters.formatOutputBool
|
|
|
}),
|
|
}),
|
|
|
new web3._extend.Method({
|
|
new web3._extend.Method({
|
|
|
- name: 'StopNatSpec',
|
|
|
|
|
|
|
+ name: 'stopNatSpec',
|
|
|
call: 'admin_stopNatSpec',
|
|
call: 'admin_stopNatSpec',
|
|
|
params: 0,
|
|
params: 0,
|
|
|
inputFormatter: [],
|
|
inputFormatter: [],
|