Merge pull request #2740 from Firescar96/removepeer

node, p2p, internal: Add ability to remove peers via admin interface
This commit is contained in:
Felix Lange
2016-07-29 12:34:28 +02:00
committed by GitHub
5 changed files with 48 additions and 0 deletions

View File

@ -39,6 +39,11 @@ web3._extend({
call: 'admin_addPeer',
params: 1
}),
new web3._extend.Method({
name: 'removePeer',
call: 'admin_removePeer',
params: 1
}),
new web3._extend.Method({
name: 'exportChain',
call: 'admin_exportChain',