Closed roylee17 closed 2 years ago
Fix #89
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
mempool/mempool.go | 1 | 65.36% | ||
peer/peer.go | 8 | 76.31% | ||
<!-- | Total: | 9 | --> |
Totals | |
---|---|
Change from base Build 2968257507: | 0.01% |
Covered Lines: | 22486 |
Relevant Lines: | 43533 |
An output is considered dust if the cost to the network to spend the coins is more than 1/3 of the minimum free transaction relay fee, which has a default rate of 1000 satoshis/kb
bitcoind refactored dust threshold calculation, which removed the multiply factor of 3 from the code, but increased the DUST_RELAY_TX_FEE from 1000 to 3000 (satoshi/kb).
lbrycrd adopted the refactored code but also kept the rate to 1000 dewies/kB, which means:
This commit updates lbcd to align the policy.