Introduce a scale factor
commit3ee76d6de5c8f8705c4b9bbcc75da0df4d42c966
authorAlex Morcos <morcos@chaincode.com>
Mon, 3 Apr 2017 15:31:27 +0000 (3 11:31 -0400)
committerAlex Morcos <morcos@chaincode.com>
Wed, 10 May 2017 15:47:45 +0000 (10 11:47 -0400)
tree73e4c35a931df13e5b8300e0fd983ebc26e00044
parent5f1f0c64905491fea4ba50c0a8eb68fa59d65411
Introduce a scale factor

For the per confirmation number tracking of data, introduce a scale factor so that in the longer horizones confirmations are bucketed together at a resolution of the scale.  (instead of 1008 individual data points for each fee bucket, have 42 data points each covering 24 different confirmation values.. (1-24), (25-48), etc.. )
src/policy/fees.cpp
src/policy/fees.h
src/rpc/mining.cpp
src/test/policyestimator_tests.cpp