Skip to content

Conversation

@EthanYuan
Copy link
Collaborator

@EthanYuan EthanYuan commented Mar 18, 2025

This PR fixes 2 issue

  • where update_lnd_snapshot could take too long and delay the next set_device_lock, breaking the expected timing cycle. Now make LND snapshot update async-safe and non-blocking

  • allow update_lnd_snapshot to VSS when only device_lock writing is pending, avoiding update_lnd_snapshot being unwritable for a long time.

  • local testsed

@EthanYuan EthanYuan requested review from Flouse and ShookLyngs March 18, 2025 09:42
@EthanYuan EthanYuan force-pushed the fix-set-device-internal branch from 02f51c6 to e3e5c71 Compare March 18, 2025 09:46
@EthanYuan EthanYuan changed the title fix: set device internal fix: set device lock internal Mar 18, 2025
@EthanYuan EthanYuan changed the title fix: set device lock internal fix: set device lock internal and update_lnd_snapshot being unwritable for a long time Mar 19, 2025
@EthanYuan EthanYuan changed the title fix: set device lock internal and update_lnd_snapshot being unwritable for a long time fix: set_device_lock loop internal and update_lnd_snapshot being unwritable for a long time Mar 19, 2025
@EthanYuan EthanYuan marked this pull request as ready for review March 20, 2025 15:43
@EthanYuan EthanYuan force-pushed the fix-set-device-internal branch 2 times, most recently from dbe7741 to 618d9db Compare March 20, 2025 15:53
@EthanYuan EthanYuan force-pushed the fix-set-device-internal branch from 3831af8 to 7fb85e7 Compare March 22, 2025 04:35
@EthanYuan EthanYuan requested a review from Flouse March 22, 2025 04:57
@EthanYuan EthanYuan force-pushed the fix-set-device-internal branch from 50b43f7 to 2575ff4 Compare March 22, 2025 05:22
@EthanYuan EthanYuan merged commit 461e13f into utxostack:develop Mar 22, 2025
9 checks passed
@EthanYuan EthanYuan deleted the fix-set-device-internal branch March 22, 2025 07:59
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.

2 participants