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

Contact list delta-encoding #38

Open
jb55 opened this issue Aug 2, 2024 · 1 comment
Open

Contact list delta-encoding #38

jb55 opened this issue Aug 2, 2024 · 1 comment

Comments

@jb55
Copy link
Contributor

jb55 commented Aug 2, 2024

original idea here: nostr-protocol/nips#349 (comment)

I'm planning on resolving this by creating a delta-contact list format,
so each change can be represented by "diff" of the previous one you have
stored. This will allow us to show every change in a compact way, very
much like "git diff" for your contact list, and it's backwards
compatible with everything. Then you will be able to review and rollback
to any previous revision, perhaps damus can do this automatically if it
sees large drops of contacts at once.

@jb55
Copy link
Contributor Author

jb55 commented Oct 28, 2024

it would be cool to generalize this to any addressable event, where content is diff-encoded. This would allow us to do version control of editable events like longform posts

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

No branches or pull requests

1 participant