Skip to content

Conversation

@thesimplekid
Copy link
Collaborator

@thesimplekid thesimplekid commented Dec 29, 2025

Description


Remove DatabaseTransaction trait to support databases without native transaction support (IndexedDB, FFI bindings, LDK's KVStore).

The saga pattern will handle failure recovery instead of relying on database transactions.
- Remove DatabaseTransaction trait and begin_db_transaction method
- Move transaction methods to direct Database trait methods

Saga impl: thesimplekid#16

Notes to the reviewers


Suggested CHANGELOG Updates

CHANGED

ADDED

REMOVED

FIXED


Checklist

@thesimplekid thesimplekid force-pushed the remove_wallet_tx branch 5 times, most recently from 03c89d7 to 11b54b1 Compare January 3, 2026 19:05
@thesimplekid thesimplekid marked this pull request as ready for review January 5, 2026 21:55
@thesimplekid thesimplekid requested a review from crodas January 6, 2026 16:19
@thesimplekid thesimplekid added this to the 0.15.0 milestone Jan 7, 2026
Remove DatabaseTransaction trait to support databases without native
transaction support (IndexedDB, FFI bindings, LDK's KVStore).

The saga pattern will handle failure recovery instead of relying on
database transactions.
   - Remove DatabaseTransaction trait and begin_db_transaction method
   - Move transaction methods to direct Database trait methods

feat: wallet kv tests
@thesimplekid thesimplekid merged commit 855798f into cashubtc:main Jan 10, 2026
89 checks passed
@thesimplekid thesimplekid deleted the remove_wallet_tx branch January 11, 2026 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant