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

mining: Stop transactions losing their dependants. #1109

Merged
merged 1 commit into from
Mar 3, 2018

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Mar 2, 2018

This requires PR #1108.

This fixes a bug where a transaction would lose reference to other transactions dependent on it when being considered for inclusion in a new block template. The issue only occurs when the transaction being considered triggers a change of priority queue ordering to ordering by fee. It results in none of the dependent transactions being considered for inclusion in the new block template.

Work towards #709.

Copy link
Member

@dajohi dajohi left a comment

Choose a reason for hiding this comment

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

ok

@davecgh davecgh force-pushed the mining_dont_lose_deps branch from bbf819b to 6470d39 Compare March 3, 2018 05:33
This fixes a bug where a transaction would lose reference to other
transactions dependant on it when being considered for inclusion in a
new block template. The issue only occurs when the transaction being
considered triggers a change of priority queue ordering to ordering by
fee. It results in none of the dependant transactions being considered
for inclusion in the new block template.
@davecgh davecgh force-pushed the mining_dont_lose_deps branch from 6470d39 to ba2bd63 Compare March 3, 2018 05:55
@davecgh davecgh merged commit ba2bd63 into decred:master Mar 3, 2018
@davecgh davecgh deleted the mining_dont_lose_deps branch March 3, 2018 06:17
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