aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2016-12-21 19:15:13 -0800
committerPieter Wuille <[email protected]>2016-12-22 15:04:05 -0800
commitba3cecf5c436bf38efad045d46e0aa26210d2234 (patch)
tree316c6db06dc1c8a1b502663fb5d742c72c0692c8 /src/net_processing.cpp
parentMerge #8589: Inline CTxInWitness inside CTxIn (diff)
downloaddiscoin-ba3cecf5c436bf38efad045d46e0aa26210d2234.tar.xz
discoin-ba3cecf5c436bf38efad045d46e0aa26210d2234.zip
Share unused mempool memory with coincache
If the mempool is not completely full, treat the difference between the maximum size and the actual usage as available for the coin cache. This also changes the early flush trigger from (usage > 0.9 * space) to (usage > 0.9 * space && usage > space - 100MB). This means we're not permanently leaving 10% of the space unused when the space is large.
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions