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

NIP-77: Negentropy syncing #1494

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

NIP-77: Negentropy syncing #1494

wants to merge 1 commit into from

Conversation

fiatjaf
Copy link
Member

@fiatjaf fiatjaf commented Sep 12, 2024

This is a copy of @hoytech's https://github.com/hoytech/strfry/blob/nextneg/docs/negentropy.md with some small tweaks in the text (not in the protocol) just to have it here somewhere.

https://github.com/nostr-protocol/nips/blob/negentropy/77.md

@vitorpamplona
Copy link
Collaborator

vitorpamplona commented Sep 12, 2024

IMHO, In the long run, sync will have to become a mandatory part of the protocol. I just don't see Nostr taking over everything without robust syncing operations. Yes, we can sync via REQs but that is so bad that I don't actually consider it a viable solution.

That means that the sync protocol must be extremely well defined such that we can actually have 100s of different implementations in all possible languages, with all possible database options, working together. We need to simplify and clarify this NIP to the extreme. It needs to become so good that it is fine if we add it to 01.md

Libraries can help, but the ability to code it from near scratch is a MUST to me.


```jsonc
[
"NEG-ERR",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These new message types must be added to readme as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's not do it for now.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok.

@jb55
Copy link
Contributor

jb55 commented Sep 18, 2024

sync will have to become a mandatory part of the protocol

I hope so

@braydonf
Copy link
Contributor

A great one to add, this will be great for mobile clients and for relay to relay syncing. Lots of potential. Let's go! :)

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.

5 participants