aboutsummaryrefslogtreecommitdiffstats
path: root/lib/notes.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-11-04 14:29:34 -0700
committerAdam Soltys <[email protected]>2026-11-04 14:31:20 -0700
commit3e98c1b1026be994350741d2adbc63472d2a9770 (patch)
tree94a8fe07e01a680f5a5a1d5f2c261bf479bbf80b /lib/notes.ts
parent10218ae86b464b8e3d29c27513eb5cc0554d044b (diff)
downloadcoinos-server-3e98c1b1026be994350741d2adbc63472d2a9770.tar.gz
coinos-server-3e98c1b1026be994350741d2adbc63472d2a9770.zip
self-delete: use the full delall sweep, require the PIN
POST /delete now runs lib/deluser, the same sweep as scripts/delall.ts: it also disables the account's bolt12 offers on the node, removes the invoice pointer keys (invoice:<hash|text|offer_id>), covers sub-account invoices and deletes from the archive too. Offers are disabled before any key is deleted, so an unreachable node aborts with the account intact. Accounts with a PIN must now send it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'lib/notes.ts')
0 files changed, 0 insertions, 0 deletions