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

Storage: How to update after Int.Max on height #2

Open
sondreb opened this issue Aug 2, 2020 · 0 comments
Open

Storage: How to update after Int.Max on height #2

sondreb opened this issue Aug 2, 2020 · 0 comments
Labels
question Further information is requested

Comments

@sondreb
Copy link
Member

sondreb commented Aug 2, 2020

The height is currently used to identity the latest version of a document. If by mistake or abused by an Web3 app, how would the user handle updates to their data? Having multiple fields won't make any difference. Perhaps updates should be allowed if the height is equal, but how do we ensure that an older version is not replacing the new one? Which can happen if an node with old data goes online and starts syncing, it might replace newer data.

One idea would be to introduce an "firstObserved" property on the container (which contains the document) which is not a signed property, but that nodes could use to orchestrate ability to perform a double verification of which document is latest.

@sondreb sondreb added the question Further information is requested label Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant