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

fix: update transaction status from broadcast if already mined #3101

Conversation

hansieodendaal
Copy link
Contributor

@hansieodendaal hansieodendaal commented Jul 16, 2021

Description

Updated the transaction status from broadcast if already mined.

Motivation and Context

Transaction status was not updated in the broadcast protocol monitoring loop if detected that it was already mined; added the transaction mined to the event publisher. A wallet restart was required to update the status.

How Has This Been Tested?

Unit testing. Will still monitor in future stress tests.

Checklist:

  • I'm merging against the development branch.
  • I have squashed my commits into a single commit.

Transaction status was not updated in the broadcast protocol monitoring
loop if detected that it was already mined; added the transaction mined
to the event publisher.
Copy link
Contributor

@philipr-za philipr-za left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@StriderDM StriderDM left a comment

Choose a reason for hiding this comment

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

+1

@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 19, 2021

PR queued successfully. Your position in queue is: 1

@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 19, 2021

PR failed to merge with reason: Failed due to unknown reason
Additional debug info: You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information.

@stringhandler stringhandler changed the title Update transaction status from broadcast if already mined fix: update transaction status from broadcast if already mined Jul 19, 2021
@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 19, 2021

PR queued successfully. Your position in queue is: 1

@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 19, 2021

PR failed to merge with reason: Ready label was manually removed

@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 19, 2021

PR queued successfully. Your position in queue is: 1

1 similar comment
@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 19, 2021

PR queued successfully. Your position in queue is: 1

@stringhandler stringhandler merged commit 32fe3d2 into tari-project:development Jul 19, 2021
@hansieodendaal hansieodendaal deleted the ho_update_broadcast_status branch July 28, 2021 13:23
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.

4 participants