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

Optional revalidation of hash/txid for unspent balances #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

olamigokayphils
Copy link
Owner

ASSERT_UNSPENT_TRANSACTION_HASH_CONFIRMATION_IS_VALID

In certain cases, the sweep function encounters addresses with incomplete or unconfirmed 'unspent' balances. To address this, I have introduced the getTransactionConfirmationStatus function, which depends on the ASSERT_UNSPENT_TRANSACTION_HASH_CONFIRMATION_IS_VALID environment variable. By default, ASSERT_UNSPENT_TRANSACTION_HASH_CONFIRMATION_IS_VALID is set to false.

If you have experienced errors such as: Error validating transaction: Transaction - {{ txHash }} orphaned, missing reference {{ txHash }}, this patch will be beneficial. It ensures that transaction hashes are validated for confirmation status, reducing the likelihood of encountering orphaned or missing reference errors.

@olamigokayphils olamigokayphils self-assigned this Jun 6, 2024
@olamigokayphils olamigokayphils removed their assignment Jun 25, 2024
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.

1 participant