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

feat: check vss state via lnd channels snapshot #96

Merged
merged 13 commits into from
Mar 6, 2025

Conversation

EthanYuan
Copy link
Collaborator

@EthanYuan EthanYuan commented Mar 5, 2025

Summary:

This PR focuses on enhancing the VSS and LND snapshot management mechanisms. It introduces a VSS manager to verify that all VSS have been uploaded, intercepts ln callbacks for better integration, and refines the device startup process with LND snapshot checks.

Key Changes:

  • VSS Manager & Callback Interception:

    • Implemented a VSS manager that monitors and confirms the completion of all VSS uploads.
  • Query Joyid Service to get/save lnd channels snapshot:

    • Conservatively updated the LND snapshot to VSS to ensure safe and consistent data propagation.
  • Multi device startup check

    • Modified the device startup routine to check the VSS LND snapshot when switching devices, controlled by a check_lnd_snapshot flag.
  • Fix: wait for vss uploads when release device lock

@EthanYuan EthanYuan merged commit f814cf8 into utxostack:develop Mar 6, 2025
9 checks passed
@EthanYuan EthanYuan deleted the save-lnd-channel-state branch March 6, 2025 03:39
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

Successfully merging this pull request may close these issues.

4 participants