Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add functionality to exclude specified relays from deletion requests #1462

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

0ceanSlim
Copy link

This PR proposes an update to NIP-09 by introducing a new exclude tag to the Event Deletion Request specification. The exclude tag allows users to specify relays that should not delete or stop publishing the events referenced in a deletion request.

This PR proposes an update to NIP-09 by introducing a new exclude tag to the Event Deletion Request specification. The exclude tag allows users to specify relays that should not delete or stop publishing the events referenced in a deletion request.
@0ceanSlim
Copy link
Author

0ceanSlim commented Aug 31, 2024

Could also be a new kind to specify a list of relays that shouldn't store your events and delete any that they have from you. Or a list of relays that you only want to store your notes and relays can know if they are not on that list to delete and not store that event.

@fiatjaf
Copy link
Member

fiatjaf commented Aug 31, 2024

NIP-70 should address this in a more elegant way, I think.

@0ceanSlim
Copy link
Author

0ceanSlim commented Aug 31, 2024

NIP-70 should address this in a more elegant way, I think.

This is good but it also requires your relays implement NIP42. The motivation for this change was so I can request all relays delete all my previous notes but keep them in a handful of relays. I don't want to delete them off certain private relays. I'm sure a lot of people are in the same boat as me with having added a lot of relays when first using the protocol. I don't want my old notes stored on old relays I don't use anymore and as an added bonus, those operators can free up some space. This change would allow me to make some sort of tool to send a delete request for all previous events from my Pubkey but keep them on my private relay. Then going forward it's easier to keep track of where all my data could potentially be using NIP70. NIP70 wouldn't let me go back and change non replaceable events as protected. Of course the longer I think about the issue less sure I am about the best solution. There's just no way to selectively delete events from some relays and not others.

@vitorpamplona
Copy link
Collaborator

The motivation for this change was so I can request all relays delete all my previous notes but keep them in a handful of relays.

That will be better achieved with something like this #1256

@0ceanSlim
Copy link
Author

The motivation for this change was so I can request all relays delete all my previous notes but keep them in a handful of relays.

That will be better achieved with something like this #1256

Ah yes, I was thinking of the right to vanish last night aswell shortly after making the PR. I'll need to review that a little later today to see how it might fit there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants