Merge bitcoin/bitcoin#34957: policy: remove incorrect MANDATORY_SCRIPT_VERIFY_FLAGS comment

5fa6898818 policy: remove incorrect MANDATORY_SCRIPT_VERIFY_FLAGS comment (ismaelsadeeq)

Pull request description:

  Since https://github.com/bitcoin/bitcoin/pull/33050

  This comment claiming that failing mandatory script checks may trigger a DoS ban/punishment is false.
  `CheckInputScript` also dispute this comment.

  b0f68f0a3a/src/validation.cpp (L2113-L2118)

ACKs for top commit:
  darosior:
    utACK 5fa6898818
  instagibbs:
    ACK 5fa6898818

Tree-SHA512: 84ad68b158e334b0e945f33007de58807b0b3335b1873412b0f359f0fa52d0819e93f42b28ebb6fbe5b355f2710f61e0dd731dc4bce20ccc1b7b2c546a9df550
This commit is contained in:
merge-script
2026-03-31 23:44:41 +08:00

View File

@@ -96,8 +96,7 @@ static constexpr unsigned int MAX_DUST_OUTPUTS_PER_TX{1};
/**
* Mandatory script verification flags that all new transactions must comply with for
* them to be valid. Failing one of these tests may trigger a DoS ban;
* see CheckInputScripts() for details.
* them to be valid.
*
* Note that this does not affect consensus validity; see GetBlockScriptFlags()
* for that.