Update BIP-119 Variable Names #1118

pull JeremyRubin wants to merge 1 commits into bitcoin:master from JeremyRubin:ctv-name-shedding changing 1 files +25 −23
  1. JeremyRubin commented at 5:57 PM on May 7, 2021: contributor

    Opening for bikeshedding here before mirroring the code changes.

    Some folks found StandardTemplateHash being a consensus definition and not a policy definition confusing.

    This PR attempts at unambiguous names. More verbose than I like, but it's readable at least.

    Bikeshed now or forever hold your peace :laughing:

  2. JeremyRubin cross-referenced this on May 7, 2021 from issue Implement BIP-119 Validation (CheckTemplateVerify) by JeremyRubin
  3. glozow commented at 1:59 PM on August 6, 2021: member

    I came here to say: The term "standard" is already a confusing and somewhat ambiguous (because it is customizable and not universal) term in mempool policy, and I hope it doesn't seem like bikeshedding to recommend not overloading it further. For instance, if we were to be calling IsStandard(scriptPubkey, TxoutType::TX_STANDARDTEMPLATE) to determine if an output was standard, but then a tx with a nonstandard template can still be a standard output type, it'll just be extremely confusing.

    Anyway, Concept ACK, this seems fine, or you give them version numbers or something.

  4. JeremyRubin commented at 3:55 PM on August 6, 2021: contributor

    great --> I think that the best "future" path would be something like where a n+32 byte value has the first n bytes interpreted as a sighash program, so Default is the thing that happen w/o a program?

    (as opposed to version numbers)

  5. JeremyRubin renamed this:
    [WIP DONOTMERGE] Update BIP-119 Variable Names
    Update BIP-119 Variable Names
    on Aug 8, 2021
  6. JeremyRubin commented at 6:18 PM on August 8, 2021: contributor

    Dropping WIP; mergeable I think (@kallewoof)

  7. kallewoof commented at 4:36 AM on August 9, 2021: member

    Remnants of at least one SCRIPT_VERIFY_STANDARD_TEMPLATE in there, FYI. I think you meant to change that too.

  8. luke-jr commented at 9:31 PM on August 29, 2021: member

    @JeremyRubin Shall we get this merged?

  9. luke-jr added the label Proposed BIP modification on Aug 29, 2021
  10. Update BIP-119 Variable Names c788bd9d08
  11. JeremyRubin force-pushed on Aug 30, 2021
  12. JeremyRubin commented at 5:49 PM on August 30, 2021: contributor

    ok ready to go

  13. luke-jr merged this on Aug 30, 2021
  14. luke-jr closed this on Aug 30, 2021


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 11:10 UTC

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