diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-23 13:29:47 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-23 13:29:47 +0000 |
| commit | 65ac6ef83205c41653e6ffe2acd664f968926fb2 (patch) | |
| tree | c31301c599dfaffd75e61af3f6004d1b95373a72 /Cargo.lock | |
| parent | c368f9132a16d45a17ad55943e4b68ba85a6835b (diff) | |
feat: remove purgatory announcements on NIP-09 deletion events
Kind 5 deletion events signed by the announcement author now evict the
corresponding purgatory entry and delete the bare repository from disk.
Both NIP-09 reference styles are supported:
- e tag (event ID): matches the purgatory entry whose event ID equals the tag value
- a tag (coordinate 30617:<pubkey>:<identifier>): matches by coordinate, only
removes entries with created_at <= deletion event created_at per NIP-09 spec
Author-only enforcement: coordinate pubkey and e-tag owner must match the
deletion event pubkey; third-party deletion attempts are silently ignored.
Includes 6 unit tests and 2 integration tests (event ID and coordinate paths).
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions