aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web3ext/web3ext.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-09-11 18:29:47 +0800
committerFelix Lange <fjl@twurst.com>2017-09-11 18:29:47 +0800
commit48705f8aea04dffb7e772784122aa600bbc60cab (patch)
tree178c8a20d4942cf868ac4ba0f335d216fd16afc9 /internal/web3ext/web3ext.go
parent10b3f97c9dcc6f3711aa2d3b1bb43e67eb921223 (diff)
downloaddexon-48705f8aea04dffb7e772784122aa600bbc60cab.tar
dexon-48705f8aea04dffb7e772784122aa600bbc60cab.tar.gz
dexon-48705f8aea04dffb7e772784122aa600bbc60cab.tar.bz2
dexon-48705f8aea04dffb7e772784122aa600bbc60cab.tar.lz
dexon-48705f8aea04dffb7e772784122aa600bbc60cab.tar.xz
dexon-48705f8aea04dffb7e772784122aa600bbc60cab.tar.zst
dexon-48705f8aea04dffb7e772784122aa600bbc60cab.zip
internal/debug: add debug_setGCPercent
Diffstat (limited to 'internal/web3ext/web3ext.go')
-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 927085b44..215eae701 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -268,6 +268,11 @@ web3._extend({
params: 0,
}),
new web3._extend.Method({
+ name: 'setGCPercent',
+ call: 'debug_setGCPercent',
+ params: 1,
+ }),
+ new web3._extend.Method({
name: 'memStats',
call: 'debug_memStats',
params: 0,