doc: add standardness rules reference to doc/policy #34760

pull Bortlesboat wants to merge 1 commits into bitcoin:master from Bortlesboat:doc-policy-standardness changing 3 files +64 −1
  1. Bortlesboat commented at 5:58 pm on March 6, 2026: none

    The doc/policy/ directory documents mempool policy but had no reference for transaction standardness rules. This adds standardness.md covering the checks in IsStandardTx(), AreInputsStandard(), IsWitnessStandard(), and mempool acceptance, along with a table of configurable relay options.

    Also improves the -datacarriersize help text in init.cpp to mention the pre-v30.0 default of 83, making it easier for operators to restore the previous OP_RETURN relay behavior.

  2. DrahtBot added the label Docs on Mar 6, 2026
  3. DrahtBot commented at 5:59 pm on March 6, 2026: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #32800 (rpc: Distinguish between vsize and sigop adjusted mempool vsize by musaHaruna)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  4. doc: add standardness policy documentation and improve -datacarriersize help
    Add doc/policy/standardness.md documenting the transaction standardness
    rules enforced during relay and mining. This covers transaction-level,
    output-level, and input-level checks, along with a table of configurable
    relay options (-datacarrier, -datacarriersize, -permitbaremultisig,
    -dustrelayfee, -bytespersigop).
    
    Also update the -datacarriersize help text to mention that setting it to
    83 restores the pre-v30.0 behavior.
    28eb78cfdb
  5. Bortlesboat force-pushed on Mar 7, 2026
  6. sedited commented at 9:17 pm on March 8, 2026: contributor

    This reads llm generated. I don’t think it is acceptable in its current form (there’s a bunch of options and rules missing and some of the explanations lack precision) and not sure if reviewers want to invest the time for polishing this.

    The additional help text in init.cpp is also not useful in my opinion.

    That said, some of the things mentioned here could indeed be part of such a document, but I would prefer somebody with more experience with policy write it.

  7. sedited closed this on Mar 8, 2026


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-03-09 09:13 UTC

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