aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-28 15:39:55 -0700
committerAdam Soltys <[email protected]>2026-06-28 15:39:55 -0700
commit9c4c7060560f21246a4e4ce6feb83fd07e4aa481 (patch)
treee69a8ce4d10bc3211c0b5aad6685938a32af9d64 /docker
parent85de6adfd6fc0f3722adf5905b82f23ed6abb11d (diff)
downloadcoinos-server-9c4c7060560f21246a4e4ce6feb83fd07e4aa481.tar.gz
coinos-server-9c4c7060560f21246a4e4ce6feb83fd07e4aa481.zip
nwc: confirm 13194 info-event publish so it cannot be silently dropped
publishInfo sent the kind-13194 info event over the long-lived NWC socket fire-and-forget. The nostr lib Relay.send is async (await wait_connected; ws.send) but was called without await, and success was logged immediately. A send that rejected (e.g. ws in CLOSING state during a strfry reconnect) was silently dropped while the log claimed success, leaving NWC clients with "no info event" until a manual republish. Publish over a fresh short-lived socket and wait for the relay OK, retrying up to 3x with honest logging (warn on unconfirmed, err on give-up). ensureInfos receive-based detection is unchanged. Verified on prod: deleted both info events, restarted, both republished within seconds. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'docker')
0 files changed, 0 insertions, 0 deletions