Files
ngit-grasp/nix
DanConwayDev 98ed855ce7 feat(nip11): advertise NIP-62 unless deletion disrespector
NIP-62 (request to vanish) support was honoured (kind-62 handler in
builder.rs) but never advertised in the NIP-11 supported_nips list.
Advertise NIP-62 (62) alongside NIP-09 (9), gated on the same
deletion_request_disrespector flag: a disrespector/archival relay omits
both so clients can discover it does not honour deletion requests.

- nip11: push 62 into supported_nips when disrespector is false.
- tests: extend the unit tests and the TestRelay-driven e2e
  nip11_advertisement_reflects_deletion_support to assert NIP-62
  presence/absence mirrors NIP-09.
- docs/config/nix/.env: document NIP-62 in the conditional NIP-11
  advertisement across all four config sources.

Note: disrespector still only short-circuits NIP-09 *processing*; the
kind-62 vanish handler is unchanged. The advertisement now reflects the
relay's deletion stance for both NIPs.
2026-06-17 08:28:57 +00:00
..