diff options
| author | bndw <ben@bdw.to> | 2026-02-13 20:38:59 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-13 20:38:59 -0800 |
| commit | dfa19ff0776be0850ad7b86ca579601431349593 (patch) | |
| tree | b56a3af23dda020bd6fd6709a7d1fc3c2d9f625f /api/nostr/v1/nostrv1connect/nostr.connect.go | |
| parent | 89b8948195f24df127b7ae656ab3f60bd1b49ac7 (diff) | |
feat: implement NIP-09 with hard delete
Implement event deletion (NIP-09) using hard delete approach:
- Kind 5 events trigger deletion but are not stored themselves
- ProcessDeletion hard deletes referenced events (DELETE FROM events)
- Only authors can delete their own events (pubkey verification)
- Support multiple event IDs in single deletion request
- No deletions table needed (simpler schema)
- Added 4 deletion tests covering various scenarios
- All 45 tests passing
Diffstat (limited to 'api/nostr/v1/nostrv1connect/nostr.connect.go')
0 files changed, 0 insertions, 0 deletions
