Repository navigation
Fix sync progress on rescan - #14
Merged
Merged
Conversation
QuantumExplorer
approved these changes
Nov 27, 2018
llbartekll
added a commit
that referenced
this pull request
Apr 9, 2026
Brings DASHSYNC_MIGRATION.md in line with what's actually shipped: - Add "Where we are" entries for #5 wallet balance (commits 2b447fc, f1b481b, 7c00be4) and #11 SPV chain sync via M5 + M6 (3cf5962 + 86ed727). - Update #14 wipe entry to mention the post-#5 SPV stop + clearBalance calls. - Flip Status column for rows #5 and #11 from `—` to `🌗 Flipped`. - Update file paths and storage notes in rows #5/#6/#7/#11 to reflect the actual code locations and migration story. - Drop the Core Data → SwiftData migrator from Hard Blockers. After the #5 work landed, the migrator turned out unnecessary: chain-derived data (UTXOs, tx history, masternode list, sync state) is re-derivable via SPV resync from SwiftDashSDK's own on-disk chain data. User-entered metadata (tx categories, tax categories, gift card receipts, address labels) was never in DashSync's Core Data — it lives in dashwallet's own SQLite via TransactionMetadataDAOImpl and AddressUserInfo, keyed by txHash / address, so it stays attached after resync automatically. - Rewrite the "Storage migration" section with the corrected picture (no migrator required). - Rework the "Recommended order" wave structure: the chain + balance push (Wave 2 now) ran ahead of DashPay/Platform work because the storage groundwork was unblocked. Tx history (Wave 4 now) is the next big wave and follows the same shape as #5. No code changes — doc only. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
3 of 5 tasks
romchornyi
pushed a commit
that referenced
this pull request
Aug 28, 2026
DashUIKit#14 is merged, so pin back to `branch = master` (resolved at `83cf65a`, which also carries #16) instead of `e8d9243`. That commit was the first of #14's branch and predates three of its own follow-ups — notably `8097d16`, which stops `BottomSheetDismissalModifier` from branching on `isEnabled` inside a `@ViewBuilder`. Without it, flipping `isDismissalEnabled` swaps `_ConditionalContent` branches and SwiftUI rebuilds the sheet's content from scratch — every time a transfer starts and ends. Tracking master changes the dismissal contract, so the call sites have to follow: - `perform` now calls `onClose` unconditionally, and the button is live when `isCloseButtonEnabled && (isDismissalEnabled || hasCustomCloseAction)`. Every sheet here passes `onClose`, so without `isCloseButtonEnabled` the X would stay tappable through signing, locking, proving and broadcasting. Each site now mirrors its own `isDismissalEnabled` condition. - `onClose` took a single handler while these sheets have phases whose own buttons call something else. Route close per phase: on success the send and internal-transfer sheets run `onCompleted` (which unwinds the flow) and the evonode sheet runs `onCompleted(remaining)` (which reports the new balance), rather than `onCancel`, which only closes the sheet. `UsernameMarketplaceScreen` passes no `onClose`, so its close button is already gated by `isDismissalEnabled` alone and needs no change. Also make `CoinJoinMoveFundsSheet`'s choice body scrollable: it is the only migrated sheet presented at `.medium`, and the 82pt of chrome came out of the bottom, where "Later" — the only exit that records the deferral — sits.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We had to stop progress indicator before because notifications were not reliable (probably) but DashSync seems to send them right.