Skip to content

[REQUEST] Implement NIP-62 Request to Vanish #390

@cameri

Description

@cameri

Is your feature request related to a problem? Please describe.
A NIP-62 request is a complete reset of a key's fingerprint on the web. Nostream should honor events of kind 62 and delete all events for that pubkey.

Describe the solution you'd like

  • All events belonging from that pubkey should be deleted EXCEPT for the kind 62 event
  • The kind 62 event is a tombstone event and should not be removed. As long as this event exists new events from that pubkey should be rejected.
  • The kind 62 event cannot be deleted by a kind 5 Deletion event
  • The kind 62 event should be rejected if the value of the relay tag does not match the relay URL or if it does not match the string ALL_RELAYS exactly as per NIP-62
  • Kind 62 events should NOT be re-broadcasted to other clients or relays (this event hits a dead-end)
  • 100% unit test coverage is expected
  • Integration tests covering main use cases and edge cases

Describe alternatives you've considered
Other alternatives have been deprecated.

Additional context

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions