policy: remove incorrect MANDATORY_SCRIPT_VERIFY_FLAGS comment

The claim that failing mandatory script checks may trigger a DoS ban
is incorrect; Bitcoin Core does not automatically ban peers for
violating any of these flag checks.
This commit is contained in:
ismaelsadeeq
2026-03-30 15:06:20 +01:00
parent f6e6fad0d9
commit 5fa6898818

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.