aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sockets.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-04 22:43:49 -0700
committerAdam Soltys <[email protected]>2026-08-04 22:43:49 -0700
commitbc5b34f053cf35c11a68e57a9c43c987331452a7 (patch)
tree5517bff7d4491d65bfdb43bba1296f69d6943e51 /lib/sockets.ts
parente35c0af04fafd6e069d0d1e67664bcaed8c9c671 (diff)
downloadcoinos-server-bc5b34f053cf35c11a68e57a9c43c987331452a7.tar.gz
coinos-server-bc5b34f053cf35c11a68e57a9c43c987331452a7.zip
lnurl: defer to the v3 registrar for names it has claimed
Serving local accounts unconditionally sent migrated names (whose legacy user record still exists) back to the old account, and left v3-only custom names 500ing — only npub1* names had a Cloudflare redirect. Resolution order is now: registrar-claimed -> registrar (response handed through, cached 60s, fail-open to local if the registrar is down), else local account, else 404. The migrated flag stays out of it: register.ts stamps it on essentially every account. No loop: we defer only for names the registrar HAS, and it never queries us for those. Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'lib/sockets.ts')
0 files changed, 0 insertions, 0 deletions