go-pulse/ethdb
Martin Holst Swende c4a2b682ff
cmd/geth: add db commands stats, compact, put, get, delete (#22014)
This PR introduces:

- db.put to put a value into the database
- db.get to read a value from the database
- db.delete to delete a value from the database
- db.stats to check compaction info from the database
- db.compact to trigger a db compaction

It also moves inspectdb to db.inspect.
2021-02-23 11:27:32 +01:00
..
dbtest all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
leveldb cmd/geth: add db commands stats, compact, put, get, delete (#22014) 2021-02-23 11:27:32 +01:00
memorydb all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
batch.go all: integrate the freezer with fast sync 2019-05-16 10:39:32 +03:00
database.go all: update author list and licenses 2019-07-22 12:17:27 +03:00
iterator.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00