plugeth/core/rawdb
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
..
accessors_chain_test.go core: persist bad blocks (#21827) 2021-01-10 12:54:15 +01:00
accessors_chain.go core: persist bad blocks (#21827) 2021-01-10 12:54:15 +01:00
accessors_indexes_test.go core/rawdb: single point of maintenance for writing and deleting tx lookup indexes (#21480) 2020-09-15 10:37:01 +02:00
accessors_indexes.go core/rawdb: single point of maintenance for writing and deleting tx lookup indexes (#21480) 2020-09-15 10:37:01 +02:00
accessors_metadata.go core, eth, les: implement unclean-shutdown marker (#21893) 2020-12-11 15:56:00 +01:00
accessors_snapshot.go core/rawdb, eth/protocols : Method name typo fix (#22026) 2020-12-27 22:38:16 +01:00
accessors_state.go core, eth, les, trie: add a prefix to contract code (#21080) 2020-08-21 15:10:40 +03:00
chain_iterator_test.go core: track and improve tx indexing/unindexing (#21331) 2020-10-20 16:34:50 +02:00
chain_iterator.go core: track and improve tx indexing/unindexing (#21331) 2020-10-20 16:34:50 +02:00
database.go cmd/geth: add db commands stats, compact, put, get, delete (#22014) 2021-02-23 11:27:32 +01:00
freezer_table_test.go core/rawdb: swap tailId and itemOffset for deleted items in freezer (#21220) 2020-06-17 09:41:07 +02:00
freezer_table.go core: speed up header import (#21967) 2021-01-26 12:17:11 +01:00
freezer.go core: define and test chain rewind corner cases (#21409) 2020-08-20 13:01:24 +03:00
schema.go all: bloom-filter based pruning mechanism (#21724) 2021-02-08 13:16:30 +02:00
table_test.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00
table.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00