go-ethereum/cmd/geth
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
..
testdata cmd/geth: add test to verify regexps in version check (#21962) 2020-12-09 13:59:24 +01:00
accountcmd_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
accountcmd.go cmd: abstract getPassPhrase functions into one (#21219) 2020-06-30 09:56:40 +02:00
chaincmd.go cmd/geth: add db commands stats, compact, put, get, delete (#22014) 2021-02-23 11:27:32 +01:00
config.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
consolecmd_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
consolecmd.go cmd/geth: fix js unclean shutdown (#22302) 2021-02-15 19:47:47 +01:00
dao_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
dbcmd.go cmd/geth: add db commands stats, compact, put, get, delete (#22014) 2021-02-23 11:27:32 +01:00
genesis_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
les_test.go cmd/utils: don't enumerate USB unless --usb is set (#22130) 2021-01-13 11:14:36 +01:00
main.go cmd/geth: add db commands stats, compact, put, get, delete (#22014) 2021-02-23 11:27:32 +01:00
misccmd.go core, eth: split eth package, implement snap protocol (#21482) 2020-12-14 10:27:15 +01:00
run_test.go trie, rpc, cmd/geth: fix tests on 32-bit and windows + minor rpc fixes (#21871) 2020-11-19 22:50:47 +01:00
snapshot.go all: bloom-filter based pruning mechanism (#21724) 2021-02-08 13:16:30 +02:00
usage.go all: bloom-filter based pruning mechanism (#21724) 2021-02-08 13:16:30 +02:00
version_check_test.go cmd/geth: add test to verify regexps in version check (#21962) 2020-12-09 13:59:24 +01:00
version_check.go cmd/geth: implement vulnerability check (#21859) 2020-12-04 15:01:47 +01:00