aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile.bun
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-19 21:53:30 -0700
committerAdam Soltys <[email protected]>2026-09-21 19:23:57 -0700
commita0c892f080c767176deb1309d714deee32ac23bc (patch)
treeb7accf574aeed2867b7179b62f0ae1e31dc5c20c /Dockerfile.bun
parenta2216320de0d6b4eb25cc699456d5d995f267590 (diff)
downloadcoinos-server-a0c892f080c767176deb1309d714deee32ac23bc.tar.gz
coinos-server-a0c892f080c767176deb1309d714deee32ac23bc.zip
mintdemux: melt the new half of a mixed selection instead of refusing
A wallet holding leftovers of both eras selects proofs from each, and the two mints cannot co-sign one melt, so such wallets were stuck for good behind the "melt them separately" error. Drop the old inputs and melt the new ones. The old proofs stay unspent at the old mint while the wallet treats them as spent, so each one is recorded with its keyset, amount, secret hash and whether it carried DLEQ; they were only redeemable through the recovery path anyway. Also stop the routing tables from going empty. The hourly refresh is exempt from the mints' per-ip limiter, so it now seeds the last-good keyset lists the client-facing /v1/keysets falls back on, and a start that races the mints coming up retries every 15s rather than waiting out the hour -- an empty old list makes every old-ecash melt look new and routes it to the wrong mint. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Diffstat (limited to 'Dockerfile.bun')
0 files changed, 0 insertions, 0 deletions