lbrycrd/src/policy
Alex Morcos b1385852ef Remove factor of 3 from definition of dust.
This redefines dust to be the value of an output such that it would
cost that value in fees to (create and) spend the output at the dust
relay rate.  The previous definition was that it would cost 1/3 of the
value.  The default dust relay rate is correspondingly increased to
3000 sat/kB so the actual default dust output value of 546 satoshis
for a non-segwit output remains unchanged.  This commit is a refactor
only unless a dustrelayfee is passed on the commandline in which case
that number now needs to be increased by a factor of 3 to get the same
behavior.  -dustrelayfee is a hidden command line option.

Note: It's not exactly a refactor due to edge case changes in rounding
as evidenced by the required change to the unit test.
2017-07-17 07:10:03 -04:00
..
feerate.cpp Consensus: Policy: MOVEONLY: Move CFeeRate out of the consensus module 2017-05-03 18:00:13 +02:00
feerate.h Change API to estimaterawfee 2017-07-10 20:07:13 -04:00
fees.cpp Merge #10706: Improve wallet fee logic and fix GUI bugs 2017-07-17 09:25:33 +02:00
fees.h Remove checking of mempool min fee from estimateSmartFee. 2017-07-14 23:41:40 -04:00
policy.cpp Remove factor of 3 from definition of dust. 2017-07-17 07:10:03 -04:00
policy.h Remove factor of 3 from definition of dust. 2017-07-17 07:10:03 -04:00
rbf.cpp scripted-diff: Fully remove BOOST_FOREACH 2017-06-05 20:10:50 +02:00
rbf.h Introduce MAX_BIP125_RBF_SEQUENCE constant 2017-06-05 23:14:34 +00:00