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

get_block_template_backlog: better sorting logic [release-v0.18] #9223

Conversation

SChernykh
Copy link
Contributor

See #9222

std::sort is unstable, so it can return random sets of transactions when mempool has many transactions with the same fee/byte. It can result in p2pool mining empty blocks sometimes because it doesn't pick up "new" transactions immediately.
@SChernykh SChernykh changed the title get_block_template_backlog: better sorting logic get_block_template_backlog: better sorting logic [release-v0.18] Mar 8, 2024
@luigi1111 luigi1111 merged commit 5eb3fc2 into monero-project:release-v0.18 Mar 8, 2024
17 checks passed
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.

None yet

3 participants