dash/src/policy
MarcoFalke 74c5415a28
Merge #11303: Fix estimatesmartfee rounding display issue
1789e4675 Force explicit double -> int conversion for CFeeRate constructor (Matt Corallo)
53a6590f4 Make float <-> int casts explicit outside of test, qt, CFeeRate (Matt Corallo)
0b1b9148c Remove countMaskInv caching in bench framework (Matt Corallo)

Pull request description:

  This fixes an issue where estimatesmartfee which matches at the min relay fee will return 999 sat/byte instead of 1000 sat/byte due to a float rounding issue. I went ahead and made all float <-> int conversion outside of test/qt explicit (test only had one or two more, Qt had quite a few, including many in the Qt headers themselves) and added overloads to CFeeRate to force callers to do an explicit round themselves. Easy to test with -Wfloat-conversion.

Tree-SHA512: 66087b08e5dfca67506da54ae057c2f9d86184415e8fa4fa0199e38839e06a3ce96c836fcb7593b7d960065f5240c594ff3a0cfa14333ac528421f5aeac835c9
2020-01-31 07:43:43 -06:00
..
feerate.cpp Merge #9279: Consensus: Move CFeeRate out of libconsensus 2019-06-26 15:26:07 -05:00
feerate.h Merge #11303: Fix estimatesmartfee rounding display issue 2020-01-31 07:43:43 -06:00
fees.cpp Merge #11303: Fix estimatesmartfee rounding display issue 2020-01-31 07:43:43 -06:00
fees.h Merge #10706: Improve wallet fee logic and fix GUI bugs 2019-09-03 22:40:26 -05:00
policy.cpp Merge #10682: Trivial: Move the AreInputsStandard documentation next to its implementation 2020-01-01 22:31:14 -06:00
policy.h Merge #10817: Redefine Dust and add a discard_rate 2019-09-08 00:11:05 -05:00