Files
routstr-core/migrations
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
..
2025-08-23 17:01:28 -03:00
2025-08-09 13:50:05 -03:00