[Policy] Fix MAX_STANDARD_TX_WEIGHT check #13096

pull jl2012 wants to merge 1 commits into bitcoin:master from jl2012:max_std_tx_weight changing 3 files +4 −4
  1. jl2012 commented at 5:29 PM on April 26, 2018: contributor

    As suggested by the constant name and its comment in policy.h, a transaction with a weight of exactly MAX_STANDARD_TX_WEIGHT should be allowed. Users could be confused.

  2. MarcoFalke added the label TX fees and policy on Apr 26, 2018
  3. fanquake commented at 5:37 PM on April 26, 2018: member

    For reference this code was introduced in #2273.

  4. laanwj commented at 6:44 PM on April 26, 2018: member

    I don't think this matters in practice, but agree it's more consistent with the naming and documentation. utACK 492457f5c4ec3df5b8dc8dfed00a8236e3124f3b

  5. MarcoFalke commented at 8:52 PM on April 26, 2018: member

    If you adjust the condition for the mempool, please also adjust it for the wallet and p2p (orphan handling). You can use git grep MAX_STANDARD_TX_WEIGHT to find them.

  6. Fix MAX_STANDARD_TX_WEIGHT check
    As suggested by the constant name and its comment in policy.h, a transaction with a weight of exactly MAX_STANDARD_TX_WEIGHT should be allowed
    2f1a30c63e
  7. jl2012 force-pushed on May 4, 2018
  8. jl2012 commented at 4:18 PM on May 4, 2018: contributor

    @MarcoFalke fixed

  9. MarcoFalke commented at 5:54 PM on May 4, 2018: member

    Thanks. utACK 2f1a30c63e421b191c62059132b1cd40c24bd4d5

  10. sipa commented at 9:43 PM on May 7, 2018: member

    utACK 2f1a30c63e421b191c62059132b1cd40c24bd4d5

  11. laanwj commented at 4:35 PM on July 5, 2018: member

    re-utACK 2f1a30c63e421b191c62059132b1cd40c24bd4d5

  12. laanwj merged this on Jul 5, 2018
  13. laanwj closed this on Jul 5, 2018

  14. laanwj referenced this in commit 062738cf69 on Jul 5, 2018
  15. deadalnix referenced this in commit 7de90a0236 on Jun 9, 2020
  16. ftrader referenced this in commit eb406532dc on Aug 17, 2020
  17. sickpig referenced this in commit 5a38ab366d on Aug 18, 2020
  18. 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-17 09:15 UTC

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