diff options
| author | Adam Soltys <[email protected]> | 2026-11-22 09:31:49 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-11-22 09:31:49 -0700 |
| commit | f39513ec0a1bc178d8569116286f2b5b90ef3822 (patch) | |
| tree | c12db644ee9bc64aef5ad77dd053928748594648 /static/covers/url%25252525252525252525252525252525252525252525252525252525252525252525252527 | |
| parent | 9d73d5deb959712dd6007d639f278a8db9e6f2aa (diff) | |
| download | coinosv3-master.tar.gz coinosv3-master.zip | |
A payment's refund the wallet lost can come back through its mailbox. Handoff from the coinos-server agent on desk, 2026-11-22 ("V3 wallet lost a Lightning refund", user json534543): on 2026-11-20 a 14,770-sat Lightning payment failed six times in two minutes; after the last failure the server cosigned the revocation at 12:41:05 UTC and holds the refund as two spendable coins (14,786 and 2 sats) paid to the payment's refund key, but the page was reloaded in that second and the wallet never wrote them down, so it shows a balance of 0. The wallet builds the refund coin itself and nothing gave it back afterwards: the mailbox was the only way in, and it took coins paid to key 0 only. A coin from the mailbox is now accepted when it is paid to any key this wallet has handed out, and is kept under that key. When that key is a payment's refund key the payment is closed as failed with "payment failed, funds returned" and its HTLC coins marked spent, instead of a "Received" row. A coin to a key that is not ours is refused as before. A build from before this change refuses such a coin and moves the mailbox cursor past it, so once a session, while such a refusal is on record, the mailbox is read again from the start and what the server still holds for one of our keys is adopted. New ark-refund-mailbox test (3 cases); ark-htlc-orphan, ark-htlc-held, ark-reconcile-race and features-smoke pass. Both stored coins pass the wallet's own validation against the chain.HEADmaster
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6Upic5L6MMJzkTn8zg
Diffstat (limited to 'static/covers/url%25252525252525252525252525252525252525252525252525252525252525252525252527')
0 files changed, 0 insertions, 0 deletions
