From 927b6de9915c9262615a6399de51b200f81e5aa4 Mon Sep 17 00:00:00 2001 From: Antoine Poinsot Date: Fri, 2 Oct 2026 09:27:57 -0400 Subject: [PATCH] Address some wording nits in BIP 54 (#2313) --- bip-0054.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bip-0054.md b/bip-0054.md index eafef13d..826f39f9 100644 --- a/bip-0054.md +++ b/bip-0054.md @@ -57,20 +57,20 @@ For all blocks after activation the following new rules apply. Given a block at height `N`: - if `N % 2016` is equal to 0, the timestamp of the block must be set to a value higher than or equal to the value of the timestamp of block at height `N-1` minus 7200 (TN ≥ - TN−1 − 7200); + TN−1 − 7200) seconds; - if `N % 2016` is equal to 2015, the timestamp of the block must be set to a value higher than or equal to the value of the timestamp of the block at height `N-2015` (TN ≥ TN−2015). A limit is set on the number of signature operations present in the scripts used to validate a transaction. It applies to all transactions in the block except the coinbase transaction[^1]. For -each input in the transaction, count the number of `CHECKSIG` and `CHECKMULTISIG` in the input +each input in the transaction, count the number of signature operations from `CHECKSIG`(`VERIFY`) and `CHECKMULTISIG`(`VERIFY`) in the input scriptSig and previous output's scriptPubKey, including the P2SH redeemScript. If the total summed over all transaction inputs is strictly higher than 2500, the transaction is invalid. The accounting is the same as for [bip-0016][BIP16 specs], evaluating the scriptSig, scriptPubKey, and P2SH redeemScript separately: -1. `CHECKSIG` and `CHECKSIGVERIFY` count as 1 signature operation, whether or not they are evaluated. +1. `CHECKSIG` and `CHECKSIGVERIFY` each count as 1 signature operation, whether or not they are evaluated. 2. `CHECKMULTISIG` and `CHECKMULTISIGVERIFY` immediately preceded by `OP_1` through `OP_16` are counted as 1 to 16 signature operations, whether or not they are evaluated. 3. All other `CHECKMULTISIG` and `CHECKMULTISIGVERIFY` are counted as 20 signature operations, whether or not they are evaluated.