aboutsummaryrefslogtreecommitdiff
path: root/src/version.cpp.in
diff options
context:
space:
mode:
authorSChernykh <sergey.v.chernykh@gmail.com>2022-07-22 13:50:21 +0200
committerSChernykh <sergey.v.chernykh@gmail.com>2022-07-22 13:50:21 +0200
commit099fc1f8a9cd897b10ebfa280cd62a99f5666fa8 (patch)
tree4088f03284f3d6c1fd5d87a5842448dce1dfe97c /src/version.cpp.in
parentMerge pull request #8435 (diff)
downloadmonero-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