You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Motivation**
The logs for the headers in snapsync shows inaccurate numbers due to the
chunked header download. This pr aims to fix that and show the proper
percentage of headers to download.
**Description**
- Change `METRICS.headers_downloaded` to an `IntCounter` instead of
`AtomicU64`
- Removed `METRICS.headers_to_download` and replaced the calculation
with `METRICS.sync_head_block`
- Fixed `METRICS.sync_head_block` to include the proper
Works to improve #4950
0 commit comments