Split mint mod.rs into separate trait modules #1490
No reviewers
Labels
No labels
DB & Storage
Deployment
Error Handling & Logging
Maintenance
Payment Backend
backport
backport v0.13.x
backport v0.14.x
backport v0.15.x
bindings
blocked
bug
cdk-sql
ci
cli
deps
documentation
duplicate
enhancement
good first issue
help wanted
invalid
keep-open
ldk-node-ui
migrations
mint
mutation-testing
needs rebase
needs review
new nut
nut change
question
ready
rust-version
rustfmt
stacked hold
stale
testing
wallet
weekly-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cashubtc/cdk!1490
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/split-mod-file-sql-common"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Split the large monolithic mod.rs file into separate files, each containing a database trait and its corresponding transaction trait:
The mod.rs now only contains struct definitions, migrations, and the main MintDatabase/MintTransaction/DbTransactionFinalizer impls.
closes: https://github.com/cashubtc/cdk/issues/1489
Notes to the reviewers
Suggested CHANGELOG Updates
CHANGED
ADDED
REMOVED
FIXED
Checklist
just final-checkbefore committing@ -0,0 +1,500 @@//! Proofs database implementationI think we should remove the inline.
Inline is best for small cpu bound tasks, this is async and has io.
@ -0,0 +1,1133 @@//! Quotes database implementation