Files
routstr-core/migrations/versions
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-06-09 23:46:19 +02:00
2026-04-25 11:18:58 +02:00
2026-04-24 23:05:09 +02:00
2025-08-23 17:13:38 -03:00