HomePhabricator

Make pcoinsTip memory calculations consistent

Description

Make pcoinsTip memory calculations consistent

Since we are more accurately measuring pcoinsTip peak usage at twice the current in dynamic usage, it makes sense to double the default (this will lead to the same effective usage and peak usage as previously).
We should also double the buffer used to avoid flushing if above 90% but still sufficient space remaining.

Github-Pull: #10133
Rebased-From: 5b95a190e8d7059039ce61e808d494dcf89ebb3b

Details

Provenance
Alex Morcos <morcos@chaincode.com>Authored on Mar 31 2017, 14:17
Wladimir J. van der Laan <laanwj@gmail.com>Committed on Apr 5 2017, 06:23
deadalnixPushed on May 14 2017, 22:04
Parents
rABCa44a6a15f94a: Check transaction count early in submitblock.
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABCab864d3e4943: Make pcoinsTip memory calculations consistent (authored by Alex Morcos <morcos@chaincode.com>).Apr 5 2017, 06:23