diff options
author | SChernykh <15806605+SChernykh@users.noreply.github.com> | 2024-03-08 14:50:01 +0100 |
---|---|---|
committer | SChernykh <15806605+SChernykh@users.noreply.github.com> | 2024-03-08 14:51:33 +0100 |
commit | 36ee12bd8d20aecf67fbfe5387749b1562732528 (patch) | |
tree | 6ebbe14eb44d611855387e303e00b1be9361013b /tests/crypto/cnv4-jit.c | |
parent | Merge pull request #9217 (diff) | |
download | monero-36ee12bd8d20aecf67fbfe5387749b1562732528.tar.xz |
get_block_template_backlog: better sorting logic
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.
Diffstat (limited to 'tests/crypto/cnv4-jit.c')
0 files changed, 0 insertions, 0 deletions