aboutsummaryrefslogtreecommitdiffstats
path: root/mintdemux.ts
Commit message (Collapse)AuthorAgeFilesLines
* mintdemux: present old (recovery) keysets as inactiveAdam Soltys2026-07-311-1/+7
| | | | | | | | The old mint's keysets are redeem/melt-only — wallets must never mint or swap into them. Force active:false in the merged /v1/keysets so mint.coinos.io advertises a single active sat keyset (the new one) instead of two. The old mint is panic-locked (mint/swap disabled) regardless; this fixes the client-facing view a reviewer flagged.
* mintdemux: transparent two-mint proxy for mint.coinos.ioAdam Soltys2026-07-311-63/+118
| | | | | | | | | | | | | Front the current mint (fresh keys, normal ops) as primary, and transparently route pre-shutdown ecash melts to the retired panic-mode mint so wallets can melt old ecash at mint.coinos.io without changing their URL: - /v1/keysets is the union of both mints' keysets - /v1/keys/<id> and melt execute route by the keyset owner - a melt quote is taken on the primary and the invoice remembered, so an old-keyset melt is re-quoted and executed on the recovery mint (where panic mode gates blacklisted funds) - /v1/checkstate is merged across both; CORS added for web wallets The recovery mint also stands alone at mintrecovery.coinos.io.
* mint-recovery: add meltguard + mintdemux proxies; ignore local *.bakAdam Soltys2026-07-301-0/+95
- meltguard: out-of-band CLNRest spend limiter (per-melt cap + cumulative hard-freeze) that sits between the panic-mode mint and the node - mintdemux: fronts the mint hostname, routing between the retired and current mint instances after the hostname swap - gitignore *.bak / *.bak-* so local backups (some hold secrets) never commit Co-Authored-By: Claude Opus 4.8 <[email protected]>