aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorglozow <gloriajzhao@gmail.com>2023-08-10 12:11:21 +0100
committerglozow <gloriajzhao@gmail.com>2023-09-13 16:14:18 +0100
commit3ea71feb11c261f002ed918f91f3434fd8a23589 (patch)
treefbb21845439f32a49d227683af18a629a3e37f81 /src/net_processing.cpp
parentd227b7234cd4cfd7c593ffcf8e2f24573d1ebea5 (diff)
[validation] don't LimitMempoolSize in any subpackage submissions
Don't do any mempool evictions until package validation is done, preventing the mempool minimum feerate from changing. Whether we submit transactions separately or as a package depends on whether they meet the mempool minimum feerate threshold, so it's best that the value not change while we are evaluating a package. This avoids a situation where we have a CPFP package in which the parents meet the mempool minimum feerate and are submitted by themselves, but they are evicted before we have submitted the child.
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions