Giter Site home page Giter Site logo

Comments (2)

scsibug avatar scsibug commented on August 20, 2024 1

I like the idea of an event kind that would indicate the user wants to disown/delete a referenced event id. The simplest option would be placing the event id in the content field.

An alternative, which I think I prefer, is to use the event tag to refer to one or many events for deletion. Then, the content can serve as a "reason" for deletion, which I think is quite useful. Essentially, event cancellation with a user-specified message. This is also more space-efficient for mass-deletion, one event could cancel multiple others.

from nostr.

fiatjaf avatar fiatjaf commented on August 20, 2024

I was thinking about the terrible idea of posting "tombstone" events that other protocols do and saying to myself that is so bad it's better to not have anything. Also it wouldn't fit Nostr since the id is a checksum.

But given the architecture choices of Nostr I think we should probably have a DELETE message, that makes sense.

Hmm, no, that doesn't make sense because it would have to be signed.

So I guess we can have a tombstone event that references the previous event and relays can just delete the referenced event when they get a tombstone, they don't have to keep either.

from nostr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.