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

Clean payment txs data on sync #731

Merged
merged 2 commits into from
Feb 10, 2025

Conversation

danielgranhao
Copy link
Contributor

This addresses part of #725 by adding a stale payment tx data cleanup.

The idea is to look for pending payment txs that the liquid wallet does not recognize and delete them if they are older than a certain grace period (to allow for tx propagation through the network).

lib/core/src/sdk.rs Show resolved Hide resolved
Copy link
Member

@roeierez roeierez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@danielgranhao danielgranhao merged commit b5e1f29 into main Feb 10, 2025
9 checks passed
@danielgranhao danielgranhao deleted the daniel-clean-payment-txs-data-during-sync branch February 10, 2025 16:34
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.

3 participants