1
1
mirror of https://github.com/bitcoin/bitcoin.git synced 2024-05-17 23:56:39 +00:00

doc, policy: Clarify comment on STANDARD_SCRIPT_VERIFY_FLAGS

This commit is contained in:
Anthony Towns 2022-10-11 14:20:22 +10:00
parent 6ce5e8f475
commit 69c31bc748

View File

@ -91,7 +91,8 @@ static const unsigned int MANDATORY_SCRIPT_VERIFY_FLAGS = SCRIPT_VERIFY_P2SH;
/** /**
* Standard script verification flags that standard transactions will comply * Standard script verification flags that standard transactions will comply
* with. However we do not ban/disconnect nodes that forward txs violating * with. However we do not ban/disconnect nodes that forward txs violating
* these rules, for better forwards and backwards compatability. * the additional (non-mandatory) rules here, to improve forwards and
* backwards compatability.
*/ */
static constexpr unsigned int STANDARD_SCRIPT_VERIFY_FLAGS{MANDATORY_SCRIPT_VERIFY_FLAGS | static constexpr unsigned int STANDARD_SCRIPT_VERIFY_FLAGS{MANDATORY_SCRIPT_VERIFY_FLAGS |
SCRIPT_VERIFY_DERSIG | SCRIPT_VERIFY_DERSIG |