Files
routstr-core/tests
ShroominicandClaude Opus 4.8 477acedb05 fix(refund): durable, balance-versioned refund idempotency (closes #412)
DB-persisted, balance-versioned refund idempotency replacing the in-process
refund-token cache. Every credit (cashu topup, Lightning topup, new-key) bumps
ApiKey.balance_version atomically; /refund re-serves a stored token only at the
current version and only if unredeemed. Covers the Lightning-topup path and
multi-worker, which the in-process cache missed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-20 13:57:26 +08:00
..
2026-06-12 20:20:38 +02:00
2025-08-06 20:31:55 -03:00