diff options
author | Felix Lange <fjl@twurst.com> | 2016-07-29 18:34:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-29 18:34:28 +0800 |
commit | b8ba80bff70bedb59385e35f11de18679f3b4967 (patch) | |
tree | 41031b7d529ce302f45770c63ec5827a99d4bd5b /internal/web3ext/web3ext.go | |
parent | 8ec6ccc54d1da7bbaa87bd0b489b1778ea729c90 (diff) | |
parent | 4c3da0f2e1063ccb32933faff4601d5f5e0f987c (diff) | |
download | dexon-b8ba80bff70bedb59385e35f11de18679f3b4967.tar.gz dexon-b8ba80bff70bedb59385e35f11de18679f3b4967.tar.zst dexon-b8ba80bff70bedb59385e35f11de18679f3b4967.zip |
Merge pull request #2740 from Firescar96/removepeer
node, p2p, internal: Add ability to remove peers via admin interface
Diffstat (limited to 'internal/web3ext/web3ext.go')
-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 190fd57d2..e76e15177 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, |