Martin Holst Swende
08ea52e77a
cmd/geth, core, params: replace baikal with calaveras ( #22972 )
...
* cmd/geth, core, params: replace baikal with calaveras
* params: fix genesis hash for Calaveras
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
4 years ago
Martin Holst Swende
cc606be74c
all: define London+baikal, undefine yolov3, add london override flag ( #22822 )
...
* all: define London+baikal, undefine yolov3, add london override flag
* cmd, core, params: add baikal genesis definition
4 years ago
Martin Holst Swende
271e5b7fc9
cmd/geth: add db-command to inspect freezer index ( #22633 )
...
This PR makes it easier to inspect the freezer index, which could be useful to investigate things like #22111
4 years ago
Martin Holst Swende
59ac3c9fd3
cmd/geth: add db dumptrie command ( #22563 )
...
Adds the command "geth db dumptrie <root> <seek> <max>", to better help investigate the trie data
4 years ago
gary rong
0c70b83e00
all: add read-only option to database ( #22407 )
...
* all: add read-only option to database
* all: fixes tests
* cmd/geth: migrate flags
* cmd/geth: fix the compact
* cmd/geth: fix the format
* cmd/geth: fix log
* cmd: add chain-readonly
* core: add readonly notion to freezer
* core/rawdb: add log
* core/rawdb: fix freezer close
* cmd: fix
* cmd, core: construct db
* core: update tests
4 years ago
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.
4 years ago