Uh oh!
There was an error while loading. Please reload this page.
Allow disabling wallet background syncing - #508
Conversation
351c4e6 to
43ba1dbCompare
tnull
left a comment
There was a problem hiding this comment.
Thanks for looking into this!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
e506206 to
29469acCompare
tnull
left a comment
There was a problem hiding this comment.
Already looks pretty good, some comments.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
3911d93 to
0772fe7Compare
tnull
left a comment
There was a problem hiding this comment.
LGTM, I think, please squash the fixups and undraft the PR.
Please also update the commit message to give some context on what the changes are and why we're applying them. Going forward it would also be nice if you could clearly mark fixup commits (e.g., via a f or fixup prefix in the first line of the message). See https://cbea.ms/git-commit/ for some guidance on how to write good commit messages.
Uh oh!
There was an error while loading. Please reload this page.
Implements BackgroundSyncConfig to control background wallet synchronization behavior. - Allows users to explicitly disable background wallet synchronization - Sets intervals to minimum threshold if specified value is below it Context: Some users have setups where they need to rely exclusively on manual syncing. Previously, they had to set intervals to u64::MAX as a workaround to effectively disable background syncing. This implementation provides a cleaner, explicit approach for controlling sync behavior when manual syncing via sync_wallets() is preferred. Breaking change: Existing implementations may need updates to accommodate the new configuration structure. Closeslightningdevkit#310
0772fe7 to
bbe8b1eCompare
Allow disabling background wallet synchronization
Closes#310.
Changes:
Breaking Change:
Existing implementations may need updates to accommodate the new configuration structure.
Implementation Notes:
The BackgroundSyncConfig may be reused for other backend implementations.
Context:
Some users have setups where they need to rely exclusively on manual syncing via
sync_wallets(). Previously, they had to set intervals tou64::MAXas a workaround to effectively disable background syncing. This implementation provides a cleaner, more explicit approach for controlling sync behavior when manual syncing is preferred.