Global Feed Post Login
Replying to Avatar jimbocoin ๐Ÿƒ

According to my reading of the spec, what *should* happen is that the deleted event is no longer sent to anyone, as though it never existed.

Whether itโ€™s purged from memory seems like an implementation detail and/or policy decision.

It gets more interesting when you consider parameterized replaceable events. Suppose a user makes note A, then replaces it with note B, then deletes note B.

What should the relay return for subsequent REQs? If you say A, then the relay must preserve non-deleted previously replaced events.

Avatar
JeffG 1y ago

Yeah, that was my reading of the spec as well. I haven't taken the time to look at the nostr-rs-relay code yet, but I will.

Reply to this note

Please Login to reply.

Discussion

No replies yet.