fix(dash-spv): re-anchor incompatible shared storage#910
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #910 +/- ##
==========================================
- Coverage 74.54% 74.49% -0.05%
==========================================
Files 327 327
Lines 75032 75152 +120
==========================================
+ Hits 55936 55988 +52
- Misses 19096 19164 +68
|
Summary
DashSpvClientconstructionUser-visible effect
After a near-tip wallet is deleted, importing an older wallet into the same app installation automatically discards the too-recent shared SPV cache and scans the required historical range. No manual Clear & resync or app restart is required.
Test plan
older_testnet_wallet_reanchors_recent_shared_storage_to_genesisstorage_that_starts_before_wallet_requirement_is_preservedmainnet_reanchor_respects_hd_wallet_sync_floor