aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-07-29 18:34:28 +0800
committerGitHub <noreply@github.com>2016-07-29 18:34:28 +0800
commitb8ba80bff70bedb59385e35f11de18679f3b4967 (patch)
tree41031b7d529ce302f45770c63ec5827a99d4bd5b /internal
parent8ec6ccc54d1da7bbaa87bd0b489b1778ea729c90 (diff)
parent4c3da0f2e1063ccb32933faff4601d5f5e0f987c (diff)
downloaddexon-b8ba80bff70bedb59385e35f11de18679f3b4967.tar
dexon-b8ba80bff70bedb59385e35f11de18679f3b4967.tar.gz
dexon-b8ba80bff70bedb59385e35f11de18679f3b4967.tar.bz2
dexon-b8ba80bff70bedb59385e35f11de18679f3b4967.tar.lz
dexon-b8ba80bff70bedb59385e35f11de18679f3b4967.tar.xz
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')
-rw-r--r--internal/web3ext/web3ext.go5
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,