From 5fa6898818c3fa0000c5ce7b070b67b4277642a3 Mon Sep 17 00:00:00 2001 From: ismaelsadeeq Date: Mon, 30 Mar 2026 15:06:20 +0100 Subject: [PATCH] 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. --- src/policy/policy.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/policy/policy.h b/src/policy/policy.h index 283a3d4cc94..13bcf4cef75 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -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.