What is Nostr?
jb55 / Will
npub1xts…kk5s
2025-01-01 21:41:05

jb55 on Nostr: I'm about to implement replaceable events in nostrdb and just had an idea that fix ...

I'm about to implement replaceable events in nostrdb and just had an idea that fix the contact-list unfollow problem for good:

when replacing a note with a new note, generate a "delta", which is the difference between the old and new note (tags, contents, etc).

This delta can be quite small, so it can be done automatically for all replaceable events.

This would enable any nostrdb app (damus ios, notedeck, etc) to "self-heal". it could detect simulatenous follow and unfollows and discard the unfollows.

You could also use this to show diffs in longform posts, and follow/unfollow histories for all users in your local db.
Author Public Key
npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s