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

db inspect starts generator #22498

Closed
holiman opened this issue Mar 15, 2021 · 1 comment
Closed

db inspect starts generator #22498

holiman opened this issue Mar 15, 2021 · 1 comment
Assignees
Labels

Comments

@holiman
Copy link
Contributor

holiman commented Mar 15, 2021

on master, doing geth db inspect also kicks off the snap generator

~/go/src/github.com/ethereum/go-ethereum$ ./build/bin/geth db inspect                                                                                                                                                                                                                                        
INFO [03-15|11:19:22.734] Maximum peer count                       ETH=50 LES=0 total=50           
INFO [03-15|11:19:22.734] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"                                                                                                                                                                                               
INFO [03-15|11:19:22.734] Set global gas cap                       cap=25000000                                                                               
INFO [03-15|11:19:22.734] Allocated cache and file handles         database=/home/martin/.ethereum/geth/chaindata cache=512.00MiB handles=524288                                                                                                                                                                             
INFO [03-15|11:19:31.337] Opened ancient database                  database=/home/martin/.ethereum/geth/chaindata/ancient
INFO [03-15|11:19:31.412] Disk storage enabled for ethash caches   dir=/home/martin/.ethereum/geth/ethash count=3                                                                                                                                                                                                            
INFO [03-15|11:19:31.412] Disk storage enabled for ethash DAGs     dir=/home/martin/.ethash               count=2
INFO [03-15|11:19:31.414] Loaded most recent local header          number=12004531 hash="57a66d…90c106" td=21858255461248321487088 age=5d20h57m                                                                                                                                                                              
INFO [03-15|11:19:31.414] Loaded most recent local full block      number=12004531 hash="57a66d…90c106" td=21858255461248321487088 age=5d20h57m
INFO [03-15|11:19:31.414] Loaded most recent local fast block      number=12004531 hash="57a66d…90c106" td=21858255461248321487088 age=5d20h57m                                                                                                                                                                              
INFO [03-15|11:19:31.414] Loaded last fast-sync pivot marker       number=11889405                  
INFO [03-15|11:19:31.415] Resuming state snapshot generation       root="ffadea…7e83f4" at="7b491c…f845e5" accounts=58329837 slots=194094349 storage=6.72GiB elapsed="140.608µs"                                     
INFO [03-15|11:19:39.418] Inspecting database                      count=9742000 elapsed=8.003s     
INFO [03-15|11:19:39.433] Generating state snapshot                root="ffadea…7e83f4" at="7b4fc4…f1f9ec" accounts=58342053 slots=194101237 storage=6.72GiB elapsed=8.018s      eta=11h22m24.076s      
@holiman
Copy link
Contributor Author

holiman commented Mar 25, 2021

Fixed in #22407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants