aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorFelföldi Zsolt <zsfelfoldi@gmail.com>2018-08-06 19:30:04 +0800
committerGitHub <noreply@github.com>2018-08-06 19:30:04 +0800
commitc4df67461f6e0d35389e0dabd5a932a991e3a42d (patch)
treec4baaa02385b397f9b872bb4ac8a0a36c7bfeb6a /internal
parent941018b570aef77f1a47197a88e7a0b533b718f7 (diff)
parent6209545083f656f2dccbe4561644a757ff6443b5 (diff)
downloadgo-tangerine-c4df67461f6e0d35389e0dabd5a932a991e3a42d.tar
go-tangerine-c4df67461f6e0d35389e0dabd5a932a991e3a42d.tar.gz
go-tangerine-c4df67461f6e0d35389e0dabd5a932a991e3a42d.tar.bz2
go-tangerine-c4df67461f6e0d35389e0dabd5a932a991e3a42d.tar.lz
go-tangerine-c4df67461f6e0d35389e0dabd5a932a991e3a42d.tar.xz
go-tangerine-c4df67461f6e0d35389e0dabd5a932a991e3a42d.tar.zst
go-tangerine-c4df67461f6e0d35389e0dabd5a932a991e3a42d.zip
Merge pull request #16333 from shazow/addremovetrustedpeer
rpc: Add admin_addTrustedPeer and admin_removeTrustedPeer.
Diffstat (limited to 'internal')
-rw-r--r--internal/web3ext/web3ext.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index c2e0cd3f5..000e3728d 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -153,6 +153,16 @@ web3._extend({
params: 1
}),
new web3._extend.Method({
+ name: 'addTrustedPeer',
+ call: 'admin_addTrustedPeer',
+ params: 1
+ }),
+ new web3._extend.Method({
+ name: 'removeTrustedPeer',
+ call: 'admin_removeTrustedPeer',
+ params: 1
+ }),
+ new web3._extend.Method({
name: 'exportChain',
call: 'admin_exportChain',
params: 1,