diff options
author | Firescar96 <nchinda2@gmail.com> | 2016-06-25 04:27:55 +0800 |
---|---|---|
committer | Firescar96 <nchinda2@gmail.com> | 2016-07-15 06:51:41 +0800 |
commit | 4c3da0f2e1063ccb32933faff4601d5f5e0f987c (patch) | |
tree | eacf53fbbf7f920794ea0ebd13661c90124b262a /internal | |
parent | e0493457d5a9d280554990b5a29c4fcad69e7d0b (diff) | |
download | go-tangerine-4c3da0f2e1063ccb32933faff4601d5f5e0f987c.tar.gz go-tangerine-4c3da0f2e1063ccb32933faff4601d5f5e0f987c.tar.zst go-tangerine-4c3da0f2e1063ccb32933faff4601d5f5e0f987c.zip |
node, p2p, internal: Add ability to remove peers via admin interface
Diffstat (limited to 'internal')
-rw-r--r-- | internal/web3ext/web3ext.go | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -40,6 +40,11 @@ web3._extend({ params: 1 }), new web3._extend.Method({ + name: 'removePeer', + call: 'admin_removePeer', + params: 1 + }), + new web3._extend.Method({ name: 'exportChain', call: 'admin_exportChain', params: 1, |