ethdb/remotedb, cmd: add support for remote (readonly) databases (#24836)

* ethdb/remotedb, cmd: add support for remote (readonly) databases

* ethdb/remotedb: minor changes

* ethdb/remotedb: close the conn

* cmd, ethdb: add rpc accessor for ancient data

* internal/ethapi: license

* ethdb/remotedb: linter fixes
This commit is contained in:
Martin Holst Swende
2022-05-18 17:27:17 +03:00
committed by GitHub
parent 4b309c7006
commit 57192bd0dc
5 changed files with 240 additions and 15 deletions
+10
View File
@@ -475,6 +475,16 @@ web3._extend({
call: 'debug_dbGet',
params: 1
}),
new web3._extend.Method({
name: 'dbAncient',
call: 'debug_dbAncient',
params: 2
}),
new web3._extend.Method({
name: 'dbAncients',
call: 'debug_dbAncients',
params: 0
}),
],
properties: []
});