Fixes the cause of "my wallet started re-syncing from scratch."
Whenever the wallet had to rebuild its connection to the network — after a Wi‑Fi drop, a period with no peers, or a stalled sync — it quietly threw away its place in the chain and started again from the wallet's creation date. On a wallet with history that meant re-scanning over a million blocks and hours of catching up, for something that should have taken seconds.
What changed
- The rebuild now reloads its current position before rebuilding, instead of from a snapshot taken at app launch.
- Routine recovery keeps the record of which ranges have already been scanned. Only genuine corruption or a wallet reset discards it.
- Live progress is flushed to disk before anything is torn down, so nothing in memory is lost.
Verified on-device, not only in tests: dropping Wi‑Fi triggered four separate rebuilds in under a minute, and every one resumed at the tip of the chain instead of falling back to the start.
Full notes: https://digiscope.me/wallet/releases/4.0.40
SHA-256: 6cb2d7ec6212013d516610567691f46b15200263c7874429a8e570ec8f563bd2
Download from digiscope.me/downloads/ or install the APK below. Requires Android 8.0+.
Source: https://github.com/JohnnyLawDGB/digibytewallet-android