diff options
author | SChernykh <sergey.v.chernykh@gmail.com> | 2022-07-22 13:50:21 +0200 |
---|---|---|
committer | SChernykh <sergey.v.chernykh@gmail.com> | 2022-07-22 13:50:21 +0200 |
commit | 099fc1f8a9cd897b10ebfa280cd62a99f5666fa8 (patch) | |
tree | 4088f03284f3d6c1fd5d87a5842448dce1dfe97c /src/version.cpp.in | |
parent | Merge pull request #8435 (diff) | |
download | monero-099fc1f8a9cd897b10ebfa280cd62a99f5666fa8.tar.xz |
Fixed get_block_template_backlog performance
Before the fix, it processed all transactions in the mempool which could be very slow when mempool grows to several MBs in size. I observed `get_block_template_backlog` taking up to 15 seconds of CPU time under high mempool load.
After the fix, only transactions that can potentially be mined in the next block will be processed (a bit more than the current block median weight).
Diffstat (limited to 'src/version.cpp.in')
0 files changed, 0 insertions, 0 deletions