From 4c3da0f2e1063ccb32933faff4601d5f5e0f987c Mon Sep 17 00:00:00 2001 From: Firescar96 Date: Fri, 24 Jun 2016 16:27:55 -0400 Subject: node, p2p, internal: Add ability to remove peers via admin interface --- internal/web3ext/web3ext.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'internal') diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index 162cf7096..d45ce6581 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -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', -- cgit v1.2.3