node, p2p, internal: Add ability to remove peers via admin interface

This commit is contained in:
Firescar96
2016-07-14 18:51:41 -04:00
parent e0493457d5
commit 4c3da0f2e1
5 changed files with 48 additions and 0 deletions
+5
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',