From 0d812b1e9f4dfd3dd4f29f880a420c843b33da04 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 14 Nov 2026 01:14:15 -0700 Subject: names: a float send the mailbox refuses for good counts as delivered, once. "can we do something to stop it logging at least?" (Adam, 2026-11-14), of "forward retry failed for satoshi@coinos.io (21 sat, try N): float send for this payment still unresolved — not paying again" every minute. satoshi@coinos.io's ark address carries a blinded mailbox id that isn't a point (64bbbb…), so after the server cosigned and registered the arkoor to the recipient's key, PostArkoorMessage answered status 3 "invalid a blinded VTXO mailbox identifier" and the action sat at 'registered' for good: the forward refused to pay twice, and floatUpkeep/consolidateFloat (held while any action is open) stopped. Now such an action is closed as done (undelivered: the reason), the payment is recorded delivered, and one line says it went without a notice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01VMan6UKGJyuGyZFxddYRxS --- names/server.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'names/server.js') diff --git a/names/server.js b/names/server.js index 907efb1..83996d7 100644 --- a/names/server.js +++ b/names/server.js @@ -480,6 +480,24 @@ async function forwardOnce(name, sat, hash, pubkey) { log(`delivered ${sat} sat to ${name}: the earlier float send completed`); return; } + // The coins went (the server cosigned and registered the arkoor to the + // recipient's key) but the mailbox refuses the notice for good: an + // address whose blinded mailbox id isn't a point (satoshi@coinos.io, + // 2026-11-14: "invalid a blinded VTXO mailbox identifier", logged every + // minute). Nothing more can be done from here — paying again would pay + // twice — so the send is finished, the payment counts as delivered, and + // the float's upkeep (held while any action is open) can run again. + const refused = acts.find((a) => a.step === 'registered' && /PostArkoorMessage: status 3\b/.test(a.lastError || '')); + if (refused) { + refused.step = 'done'; + refused.undelivered = refused.lastError; + fwd._save(); + delete state.inflight[hash]; + recordLnReceipt(name, sat, hash); + persist(); + log(`delivered ${sat} sat to ${name} without a mailbox notice: the recipient's address can't receive one (${refused.lastError})`); + return; + } if (acts.some((a) => a.step !== 'failed')) throw new Error('float send for this payment still unresolved — not paying again'); log(`forward: the earlier float send for ${name} ${acts.length ? 'failed' : 'never started'} — trying again`); delete state.inflight[hash]; -- cgit v1.2.3