Make pcoinsTip memory calculations consistent
commit5b95a190e8d7059039ce61e808d494dcf89ebb3b
authorAlex Morcos <morcos@chaincode.com>
Fri, 31 Mar 2017 14:17:13 +0000 (31 10:17 -0400)
committerAlex Morcos <morcos@chaincode.com>
Fri, 31 Mar 2017 17:15:39 +0000 (31 13:15 -0400)
tree3d997219f851eb8f3992c877f21e613640bbadd1
parent4aa07fa735696eef828b7a82daedc654d626deac
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.
src/txdb.h
src/validation.cpp