aboutsummaryrefslogtreecommitdiffstats
path: root/internal/web3ext/web3ext.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-10-22 00:14:11 +0800
committerGitHub <noreply@github.com>2016-10-22 00:14:11 +0800
commit890ffa05f84a4701646a0ad556d22a536cfd9424 (patch)
treee08cdc2c33ab7cf211916f7d3d7ab37e496a963c /internal/web3ext/web3ext.go
parent89014b4524ecb8bd36d7db2d45ea7b609c01f1a4 (diff)
parentb930baa58078862d082745330038e60d0767026c (diff)
downloadgo-tangerine-890ffa05f84a4701646a0ad556d22a536cfd9424.tar
go-tangerine-890ffa05f84a4701646a0ad556d22a536cfd9424.tar.gz
go-tangerine-890ffa05f84a4701646a0ad556d22a536cfd9424.tar.bz2
go-tangerine-890ffa05f84a4701646a0ad556d22a536cfd9424.tar.lz
go-tangerine-890ffa05f84a4701646a0ad556d22a536cfd9424.tar.xz
go-tangerine-890ffa05f84a4701646a0ad556d22a536cfd9424.tar.zst
go-tangerine-890ffa05f84a4701646a0ad556d22a536cfd9424.zip
Merge pull request #3189 from fjl/leveldb-update
Update goleveldb, add debug.chaindbCompact
Diffstat (limited to 'internal/web3ext/web3ext.go')
-rw-r--r--internal/web3ext/web3ext.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index cbbab0ece..f935cadca 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -338,6 +338,10 @@ web3._extend({
outputFormatter: console.log
}),
new web3._extend.Method({
+ name: 'chaindbCompact',
+ call: 'debug_chaindbCompact',
+ }),
+ new web3._extend.Method({
name: 'metrics',
call: 'debug_metrics',
params: 1