1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-05-25 17:09:34 +00:00

BIPs 16, 388, 443: typo and editorial fixups

Co-authored-by: futreall <86553580+futreall@users.noreply.github.com>
This commit is contained in:
Tomás Andróil
2025-08-11 12:22:09 +02:00
committed by Jon Atack
parent a00fb712c5
commit 5d06b3b976
3 changed files with 10 additions and 9 deletions

View File

@@ -176,7 +176,7 @@ If the <code><data></code> is non-empty, then the additive tweak for the data is
In the following, the ''current input'' is the input whose script is being executed.
The following value of the <code><mode></code> are defined:
The following values of the <code><mode></code> are defined:
* <code>CCV_MODE_CHECK_INPUT = -1</code>: Check an input's script; no amount check.
* <code>CCV_MODE_CHECK_OUTPUT = 0</code>: Check an output's script; preserve the (possibly residual) amount.
* <code>CCV_MODE_CHECK_OUTPUT_IGNORE_AMOUNT = 1</code>: Check an output's script; ignore amounts.
@@ -252,7 +252,7 @@ This is executed at the beginning of the evaluation of each input's script. It i
the full amount of the current input.
<source lang="python">
residual_input_amount = input[this_input_index].amount
residual_input_amount = inputs[this_input_index].amount
</source>
==== <code>OP_CHECKCONTRACTVERIFY</code> evaluation ====