When fAllowFree is True, nMinFee is incorrectly calculated #2874

pull fcicq wants to merge 1 commits into bitcoin:master from fcicq:min-fee-fix changing 1 files +1 −1
  1. fcicq commented at 3:07 PM on August 3, 2013: contributor

    Should help to stop "correct horse" type tx.

    as @gmaxwell say, it may be not a bug. I'll cancel the request if more core devs reject me...

  2. Fix a bug when fAllowFree is True, nMinFee is incorrectly calculated 6f5b5be7f8
  3. gmaxwell commented at 3:24 PM on August 3, 2013: contributor

    Please don't describe fee policy changes as "fixing a bug".

    I don't think we should make this change. Further penalizing >0.01 BTC outputs seems unnecessary in light of the fact that very tiny outputs are not allowed, and really large dust paying transactions will not qualify as free.

  4. fcicq commented at 3:37 PM on August 3, 2013: contributor

    @gmaxwell or only apply this check for incoming (mode == GMF_RELAY) tx? I think for relaying, (1+nsize/1k) * nMinRelayTxFee should be required.

  5. BitcoinPullTester commented at 3:38 PM on August 3, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/6f5b5be7f8adab9ee49f5e93542d2be595fea564 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  6. gmaxwell commented at 6:00 PM on August 3, 2013: contributor

    the size per KB is required for relaying, except for transactions which are small enough and have high enough priority to qualify as free.

  7. luke-jr commented at 12:23 PM on August 20, 2013: member

    This code and change are pretty hard to follow, but I think the end result here isn't especially unreasonable.

  8. jgarzik commented at 2:44 AM on August 25, 2013: contributor

    At a minimum this needs a lot more documentation, either in commit message or code comments or both. No ACK without that.

  9. fcicq commented at 6:56 AM on August 25, 2013: contributor

    @jgarzik @luke-jr @gmaxwell I no longer expect this to be merged. It may be still useful for pool operators as a new rule for tx relaying and should help reduce the mempool size, and not affecting most of legitimate normal tx that is smaller than 1k bytes. Thanks for reviewing.

  10. fcicq closed this on Aug 25, 2013

  11. IntegralTeam referenced this in commit ed30db713c on Jun 4, 2019
  12. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-26 09:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me