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

During the replication process, can I vet each entry individually before storing? #73

Closed
distbit0 opened this issue Aug 14, 2018 · 4 comments

Comments

@distbit0
Copy link

Hi!
I am interested in creating a network where nodes broadcast messages onto it and then the rest store them.
I need to ensure though that a node can not just broadcast garbage messages that don't contain a POW in them.

Is there any way for nodes in orbitdb to "vet" all entries in their database before they are stored to ensure their validity?

Thanks

@willemneal
Copy link

By POW do you mean Proof of Work? Currently the only vetting in with write permissions (though there is work on adding to access control orbitdb/orbitdb#383). Currently database is just a IPFS which lists the keys that have write permission to the log. Then each new entry that is not signed by the one of the keys listened is ignored by those who are synchronizing.

@distbit0
Copy link
Author

Hmm ok looks like I will need to make some modifications bto the library first for this 👍

@RichardLitt
Copy link
Member

@picrypto Does that solve your question?

If you figure this out, I would love to see an example of what you've got working.

@aphelionz
Copy link
Member

Moving to the Field Manual to go into more detail

@aphelionz aphelionz transferred this issue from orbitdb/orbitdb Sep 27, 2019
@distbit0 distbit0 closed this as completed Jul 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants