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

Add peer count to initial sync block import log #6910

Closed
siladu opened this issue Apr 9, 2024 · 0 comments · Fixed by #6911
Closed

Add peer count to initial sync block import log #6910

siladu opened this issue Apr 9, 2024 · 0 comments · Fixed by #6911
Assignees

Comments

@siladu
Copy link
Contributor

siladu commented Apr 9, 2024

#4974 removed peer numbers from the block import INFO log.

We still display them for all other sync stages, I think it would be useful to display them for block import too.

e.g. we currently have:

Block import progress: 19359067 of 19612712 (98%)

Worldstate download progress: 74.31%, Peer count: 25
Healed 16530535 world state trie nodes, Peer count: 25
Backward sync phase 1 of 2 completed, downloaded a total of 200 headers. Peers: 25
Backward sync phase 2 of 2, 0.71% completed, imported 1 blocks of at least 140 (current head 19612943, target head 19613082). Peers: 25

Proposing we update to e.g.:

Block import progress: 19359067 of 19612712 (98%), Peer count: 25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants