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

VIP6 spec enhancements #53

Open
10 tasks
tahpot opened this issue Dec 21, 2022 · 1 comment
Open
10 tasks

VIP6 spec enhancements #53

tahpot opened this issue Dec 21, 2022 · 1 comment
Assignees
Milestone

Comments

@tahpot
Copy link
Member

tahpot commented Dec 21, 2022

The following work items were left out of the initial VIP6 spec implementation in order to expedite the Acacia release.

They require completion:

  • Implement per user database change log of updates (timestamped, signed). Ensure _deleted is ignored.
  • checkReplication() verify create / update / delete changes to databases are signed and executed in order
  • checkReplication() detect and handle database updates and deletions (and manage replication)
  • Detect storage node has been removed from DID document
  • Detect database has been deleted and remove from replication
  • Creating a DID should ensure there is currently no entry for the given DID in the DID Registry or there is currently an entry and it references this storage node endpoint
  • Investigate making credential checks more efficient; could only do credential check every x minutes

Unit tests (not exhuastive):

  • Make sure database permissions are correct when the database is re-created
  • Detect the storage node is no longer included in the DID document and deletes everything
  • Inject a fake database into storage node 1, call checkReplication() on storage node 2, make sure it's not created
@tahpot tahpot self-assigned this Dec 21, 2022
@tahpot tahpot changed the title Complete VIP6 spec VIP6 spec enhancements Jan 13, 2023
@tahpot tahpot added this to the v2.1.0 milestone Jan 13, 2023
@tahpot
Copy link
Member Author

tahpot commented Dec 29, 2023

Most of these are complete, but needs a closer review

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