-
Notifications
You must be signed in to change notification settings - Fork 1
Update bitkit-core v0.1.33 and ldk-node v0.7.0-rc.1 #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ben-kaufman
commented
Dec 11, 2025
- Fix duplicated tx received notifications by marking activity as seen
- Save tx details and fetch them from bitkit-core
- Update ldk-node to v0.7.0-rc.1
pwltr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, LGTM
- Fix duplicated tx received notifications by marking activity as seen - Save tx details and fetch them from bitkit-core - Update ldk-node to v0.7.0-rc.1
2287bb3 to
531ab1d
Compare
Need this for Android too ❤️ , nice solution! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR updates dependencies (bitkit-core v0.1.33 and ldk-node v0.7.0-rc.1) and implements activity tracking improvements to prevent duplicate transaction received notifications. The changes include adding a seenAt field to activity records, storing transaction details in bitkit-core, and updating error handling for new ldk-node API patterns.
Key changes:
- Added
seenAttimestamp tracking to activity records to mark when users have seen notifications - Refactored transaction details storage from ldk-node to bitkit-core for persistence
- Updated ldk-node initialization to use new entropy setting pattern
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| BitkitTests/ActivityListTest.swift | Added seenAt: nil parameter to all test activity creation calls |
| Bitkit/Views/Wallets/Sheets/BoostSheet.swift | Added seenAt: nil parameter to test activity creation |
| Bitkit/Views/Wallets/Activity/ActivityItemView.swift | Added seenAt: nil parameter to preview activity creation |
| Bitkit/Views/Wallets/Activity/ActivityExplorerView.swift | Updated to fetch transaction details from CoreService instead of LightningService; added seenAt: nil to preview activities |
| Bitkit/Views/Gift/GiftLoading.swift | Added marking of gift receipt activity as seen before showing success sheet |
| Bitkit/ViewModels/AppViewModel.swift | Implemented seen status checking before showing received transaction sheets to prevent duplicates |
| Bitkit/Utilities/Errors.swift | Added new ldk-node error cases and reorganized error handling for BuildError |
| Bitkit/Services/LightningService.swift | Removed local transaction details method; updated to use new ldk-node entropy setting API |
| Bitkit/Services/CoreService.swift | Added comprehensive seen tracking functionality, transaction details mapping/storage, and updated to use BitkitCore.TransactionDetails type |
| Bitkit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved | Updated bitkit-core and ldk-node dependency revisions |
jvsena42
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good solution!
ovitrif
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tAck
…ode-versions Update bitkit-core v0.1.33 and ldk-node v0.7.0-rc.1