[WIP] Obey mintxfee on txconfirmtarget, Bump mintxfee #7295

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:Mf1601-wallet-mintxfee changing 2 files +2 −2
  1. MarcoFalke commented at 2:50 PM on January 5, 2016: member

    [untested, unreviewed draft. may not compile]

  2. [WIP] Obey mintxfee on txconfirmtarget, Bump mintxfee a2a052b6e3
  3. in src/wallet/wallet.cpp:None in a2a052b6e3
    2217 | @@ -2218,7 +2218,7 @@ CAmount CWallet::GetMinimumFee(unsigned int nTxBytes, unsigned int nConfirmTarge
    2218 |      // But always obey the maximum
    2219 |      if (nFeeNeeded > maxTxFee)
    2220 |          nFeeNeeded = maxTxFee;
    2221 | -    return nFeeNeeded;
    2222 | +    return std::max(nFeeNeeded, GetRequiredFee(nTxBytes));
    


    MarcoFalke commented at 3:02 PM on January 5, 2016:

    IRC:

    limiting below at GetRequiredFee should be before limiting above at maxTxFee -- if you typo and set the RequiredFee crazy high, better to have it capped than not

  4. MarcoFalke closed this on Jan 5, 2016

  5. MarcoFalke deleted the branch on Jan 5, 2016
  6. DrahtBot locked this on Sep 8, 2021
Contributors

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-17 06:15 UTC

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