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: revalidate invalid utxo #5020

Merged

Conversation

Cifko
Copy link
Contributor

@Cifko Cifko commented Dec 8, 2022

Description

Add last_validation_timestamp for Invalid/CancelledInbound transactions.
Configurable interval for revalidation num_of_seconds_to_revalidate_invalid_utxos. Default is 3 days. When set to zero, the revalidation will be run every time. When revalidation failes, the last_validation_timestamp is updated.

How Has This Been Tested?

Partially (revalidation to valid tx).

stringhandler
stringhandler previously approved these changes Dec 8, 2022
Copy link
Collaborator

@stringhandler stringhandler left a comment

Choose a reason for hiding this comment

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

Happy, just need to use u64 rather than i64

@Cifko Cifko force-pushed the invalid_utxo_revalidation branch from e17e476 to 1758f0f Compare December 8, 2022 07:57
@aviator-app aviator-app bot added the mq-failed label Dec 8, 2022
@Cifko
Copy link
Contributor Author

Cifko commented Dec 8, 2022

Happy, just need to use u64 rather than i64

Done.

@stringhandler stringhandler merged commit f418d73 into tari-project:development Dec 8, 2022
@Cifko Cifko deleted the invalid_utxo_revalidation branch April 18, 2023 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants