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 /src/serialization/binary_utils.h | |
| parent | b23116424d3cc4e5749a900dfda2f895f7d4d8e4 (diff) | |
| download | monzero-core-36ee12bd8d20aecf67fbfe5387749b1562732528.tar.gz monzero-core-36ee12bd8d20aecf67fbfe5387749b1562732528.tar.xz monzero-core-36ee12bd8d20aecf67fbfe5387749b1562732528.zip | |
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 'src/serialization/binary_utils.h')
0 files changed, 0 insertions, 0 deletions
