AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 20 Monero

fix: Sync bar ETA (#2515)

Public commit record

What the developer wrote

Authored by David Adegoke

88/100 · Strong
fix: Sync bar ETA (#2515)

* fix: Sync bar ETA

* fix: Smooth ETA - WIP

* fix: Show disconnected status when sync disconnects

* feat: Display blocks remaining for the first five seconds and then switch to percentage

* Update

* fix: Extend duration for showing blocks remaining during sync from 5 to 15 seconds; update connectivity check to handle multiple connectivity results, and handle disconnected state while syncing

* feat: Initially display block if the a reconnection is triggered while syncing

* fix: More improvements to syncing
✓ Descriptive subject✓ Names a concrete action or component✓ Uses a recognizable type or scope✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit fixes how the wallet's sync progress bar estimates and displays remaining time. It changes when the app shows 'blocks remaining' versus a percentage, smooths the ETA calculation, and makes the connection-status check correctly show 'disconnected' if the network drops while syncing. There is no direct security vulnerability being patched; it is a user-experience and reliability improvement for sync feedback.

Recommended action

Treat as a routine UX/reliability fix. Reviewers may optionally verify that blockHistory is always cleared on wallet switch and that the new connectivity check behaves correctly on all supported platforms, but no security response is required.

Security signals we found

01

Connection-state handling tightened: disconnected status now overrides syncing/connecting states, reducing risk of misleading 'syncing' UI when the node is unreachable.

02

Connectivity API usage updated from equality to .contains(ConnectivityResult.none), which may fix false-positive offline detection on newer connectivity_plus versions.

03

ETA history no longer auto-expires by age; it is explicitly cleared on wallet change and sync completion/failure, which reduces stale-data risk but relies on correct lifecycle calls.

Risk score

Why this scored 20/100

Our methodology →
Potential impact 2/30
Exploitability 0/25
Stealth signal 1/15
Affected reach 5/15
Confidence 8/10
Evidence quality 4/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.