aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/fee.cpp
diff options
context:
space:
mode:
authorSChernykh <sergey.v.chernykh@gmail.com>2022-06-08 22:58:13 +0200
committerSChernykh <sergey.v.chernykh@gmail.com>2022-07-26 07:21:21 +0200
commitf79765579c57e318861756a393940dbbd114617a (patch)
tree5f3b1fd29a2db5ed3ec9abdf313efddba1d6e585 /tests/unit_tests/fee.cpp
parentMerge pull request #8340 (diff)
downloadmonero-f79765579c57e318861756a393940dbbd114617a.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 'tests/unit_tests/fee.cpp')
0 files changed, 0 insertions, 0 deletions