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:
@@ -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 ====
|
||||
|
||||
Reference in New Issue
Block a user