Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/geth: add db-command to inspect freezer index (ref #22111) #22633

Merged
merged 3 commits into from
Apr 13, 2021

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Apr 8, 2021

This PR makes it easier to inspect the freezer index, which could be useful to investigate things like #22111

geth --yolov3 db freezer-index diffs  214043 214056
INFO [04-08|13:52:42.921] Maximum peer count                       ETH=50 LES=0 total=50
INFO [04-08|13:52:42.921] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [04-08|13:52:42.922] Set global gas cap                       cap=25000000
INFO [04-08|13:52:42.922] Opening freezer                          location=/home/user/.ethereum/yolo-v3/geth/chaindata/ancient name=diffs
| number | fileno | offset |
|--------|--------|--------|
|  214043   |  000   |  823212   | 
|  214044   |  000   |  823216   | 
|  214045   |  000   |  823220   | 
|  214046   |  000   |  823224   | 
|  214047   |  000   |  823228   | 
|  214048   |  000   |  823232   | 
|  214049   |  000   |  823236   | 
|  214050   |  000   |  823240   | 
|  214051   |  000   |  823244   | 
|  214052   |  000   |  823248   | 
|  214053   |  000   |  823252   | 
|  214054   |  000   |  823256   | 
|  214055   |  000   |  823260   | 
|  214056   |  000   |  823264   | 
|--------------------------|

@fjl fjl removed the status:triage label Apr 13, 2021
@holiman holiman added this to the 1.10.3 milestone Apr 13, 2021
@holiman holiman merged commit 271e5b7 into ethereum:master Apr 13, 2021
atif-konasl pushed a commit to frozeman/pandora-execution-engine that referenced this pull request Oct 15, 2021
This PR makes it easier to inspect the freezer index, which could be useful to investigate things like ethereum#22111
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants