Make EstimateMedianVal smarter about small failures.
commit1ba43cc0ecaffcb6389dbbb6bcf038e78cf04023
authorAlex Morcos <morcos@chaincode.com>
Thu, 2 Mar 2017 15:08:25 +0000 (2 10:08 -0500)
committerAlex Morcos <morcos@chaincode.com>
Wed, 10 May 2017 15:45:26 +0000 (10 11:45 -0400)
tree796977bf2f41e53fbe45b588151709fb47123fc7
parentd3e30bca1bfa9900bc31fec957bb001115acac7b
Make EstimateMedianVal smarter about small failures.

Instead of stopping if it encounters a "sufficient" number of transactions which don't meet the threshold for being confirmed within the target, it keeps looking to add more transactions to see if there is a temporary blip in the data.  This allows a smaller number of required data points.
src/policy/fees.cpp
src/policy/fees.h