aboutsummaryrefslogtreecommitdiffstats
path: root/blossom/server.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-10-27 12:10:46 -0700
committerAdam Soltys <[email protected]>2026-10-27 12:10:46 -0700
commit3f745bc5c1ded49859b5dc3dd026d468b2124300 (patch)
tree68d46b29ab30d614c14784827e9395f41e374a66 /blossom/server.js
parent962528572fbe9eea22248bb4f157c3125876a8e2 (diff)
downloadcoinosv3-server-3f745bc5c1ded49859b5dc3dd026d468b2124300.tar.gz
coinosv3-server-3f745bc5c1ded49859b5dc3dd026d468b2124300.zip
names: a Lightning delivery that timed out is never paid again while it's still in flight
forward() records the payment hash of every Lightning delivery before it pays (state.inflight, keyed by the settled payment). A later try checks it first: complete = delivered, pending = wait, failed or never sent = go again. Before, waitsendpay's 240 s timeout queued the payment while its HTLC was still out, and the retry paid it a second time once the wallet claimed the first. A scripted wallet (usera7fc7e2c, "crit1 … double payout") held its claims to do exactly that on 2026-10-27; its key's forwards are parked for review (HOLD_KEYS). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QjVvE4YAcK3AGwV7kZXeN4
Diffstat (limited to 'blossom/server.js')
0 files changed, 0 insertions, 0 deletions