mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-06 21:57:54 +02:00
Merge bitcoin/bitcoin#34957: policy: remove incorrect MANDATORY_SCRIPT_VERIFY_FLAGS comment
5fa6898818policy: 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: utACK5fa6898818instagibbs: ACK5fa6898818Tree-SHA512: 84ad68b158e334b0e945f33007de58807b0b3335b1873412b0f359f0fa52d0819e93f42b28ebb6fbe5b355f2710f61e0dd731dc4bce20ccc1b7b2c546a9df550
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user