refactor: simplify storage adapters and validated wallet setup #23

Merged
thesimplekid merged 1 commit from simplify/payment-adapters into main 2026-10-09 16:38:01 +00:00
Owner

Remove redundant redb forwarding adapters and validate trusted wallet routing before opening storage. The public storage traits and embedded behavior remain available directly on their implementations.

Depends on #22. Lightning receiver configuration is unified by the following mint-backed L402 PR.

Validation: formatting, Clippy, workspace tests and documentation passed. The complete stack passed 78 tests, cargo-deny, native Nix checks, and real Bitcoin/LDK regtest.

Remove redundant redb forwarding adapters and validate trusted wallet routing before opening storage. The public storage traits and embedded behavior remain available directly on their implementations. Depends on #22. Lightning receiver configuration is unified by the following mint-backed L402 PR. Validation: formatting, Clippy, workspace tests and documentation passed. The complete stack passed 78 tests, cargo-deny, native Nix checks, and real Bitcoin/LDK regtest.
refactor: simplify storage adapters and validated wallet setup
Some checks failed
Checks / format (push) Failing after 1m1s
Checks / cdk-compatible (push) Failing after 1m27s
Checks / dependencies (pull_request) Successful in 1m0s
Checks / checks (push) Failing after 1m34s
Checks / dependencies (push) Successful in 1m14s
Checks / format (pull_request) Failing after 52s
Checks / checks (pull_request) Failing after 1m28s
Checks / cdk-compatible (pull_request) Failing after 1m10s
b0205fb7d6
Implement PaymentStore directly on RedbStore and CashuJournal directly on
Ledger, removing forwarding methods while preserving transaction ordering
and the existing on-disk layout.

Validate trusted wallets once before opening storage and pass the validated
routes into Payments. Keep managed and explicitly empty wallet sets distinct.
thesimplekid changed target branch from simplify/application-storage to main 2026-10-09 16:37:59 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
thesimplekid/satsettle!23
No description provided.