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 multiple nodes to confirm validity of retrieved results #81

Open
TimDaub opened this issue Jul 13, 2017 · 0 comments
Open

Contact multiple nodes to confirm validity of retrieved results #81

TimDaub opened this issue Jul 13, 2017 · 0 comments

Comments

@TimDaub
Copy link
Contributor

TimDaub commented Jul 13, 2017

BigchainDB nodes can behave maliciously and send drivers incorrect results. We therefore generally advise to query only trusted nodes. We also advise to:

If a user wants to ask a BigchainDB cluster about the validity of a transaction, they must ask enough of the nodes to determine what a majority of the nodes think. The non-faulty nodes should all agree on the transaction’s validity. We assume that a majority of nodes are not faulty (i.e. not broken or somehow compromised).

The JS driver currently does not support this, but should be by allowing to query multiple nodes for results such that it asks "enough of the nodes to determine what a majority of the nodes think", meaning a majority decision on the results.

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