You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reference/transactions.rst
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,8 @@ The opcodes used in the pubkey scripts of standard transactions are:
36
36
37
37
A complete list of opcodes can be found on the Bitcoin Wiki `Script Page <https://en.bitcoin.it/wiki/Script>`__, with an authoritative list in the ``opcodetype`` enum of the Bitcoin Core `script header file <https://github.com/bitcoin/bitcoin/blob/master/src/script/script.h>`__
38
38
39
+
.. _signature-script-modification-warning:
40
+
39
41
|Warning icon| **Signature script modification warning:** Signature scripts are not signed, so anyone can modify them. This means signature scripts should only contain data and data-pushing opcodes which can’t be modified without causing the pubkey script to fail. Placing non-data-pushing opcodes in the signature script currently makes a transaction non-standard, and future consensus rules may forbid such transactions altogether. (Non-data-pushing opcodes are already forbidden in signature scripts when spending a P2SH pubkey script.)
40
42
41
43
|Warning icon| |OP_CHECKMULTISIG|\ **warning:** The multisig verification process described above requires that signatures in the signature script be provided in the same order as their corresponding public keys in the pubkey script or redeem script. For example, the following combined signature and pubkey script will produce the stack and comparisons shown:
@@ -173,7 +175,7 @@ Each non-coinbase input spends an outpoint from a previous transaction. (Coinbas
| *Varies* | signature script | char[] | A script-language script which satisfies the conditions placed in the outpoint’s pubkey script. Should only contain data pushes; see the :ref:`signature script modification warning <signature_script_modification_warning>`. |
178
+
| *Varies* | signature script | char[] | A script-language script which satisfies the conditions placed in the outpoint’s pubkey script. Should only contain data pushes; see the :ref:`signature script modification warning <signature-script-modification-warning>`. |
0 commit comments