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

VSS Phase-II Tracking issue #18

Open
1 of 6 tasks
G8XSU opened this issue Aug 18, 2023 · 3 comments
Open
1 of 6 tasks

VSS Phase-II Tracking issue #18

G8XSU opened this issue Aug 18, 2023 · 3 comments

Comments

@G8XSU
Copy link
Collaborator

G8XSU commented Aug 18, 2023

Phase-II:
Overall: Phase-II covers multi-device parallel usage, where a 2+ devices use the same lightning state machine and vss as primary storage for critical data.
Ensuring sync b/w devices when one of them writes an update. Ensuring data-integrating by preventing lightning state from getting corrupted using key-level & global-level versioning.

VSS-Client Side :

  • PrimarySecondary KVStore Implementation
  • Sync client-side acc. to server side changes and ListKeysSummary
  • Client-side impl for atomic multi-value filesystem-based store (possible required in SQLite if sled doesn't work for us)
  • LDK-Node integration for error handling on write failure and re-sync local view storage and retry.
  • LDK Integration with additional error type on write. (has some unknowns)

VSS-Server Side :

  • Multi-tenanncy support - Create api to create storeId
@EthanYuan
Copy link

Hi, any chance for an update on this issue? Thanks!

@G8XSU
Copy link
Collaborator Author

G8XSU commented Sep 11, 2024

Hi,
Are you interested in phase-2 i.e. multi-device support or Vss phase-1 support that i.e. backups and using it as part of ldk-node?

@EthanYuan
Copy link

Yes, it is definitely worth learning from. vss-rs has also drawn from the VSS implementation. I understand that currently ldk-node has integrated the vss-client, but it hasn't fully utilized the version functionality yet (using -1). I'll keep an eye on future developments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants