diff options
author | Luke Dashjr <luke_github1@dashjr.org> | 2022-07-25 22:47:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 22:47:46 +0000 |
commit | b7aebcd5e64a634d5e5c1534b98045584f39ae95 (patch) | |
tree | 9d21570d8715a1f396eb24ce4fa0e4689efabd90 | |
parent | 20b460b6d2ac5b20533e0f933214a989c6957f40 (diff) | |
parent | ac80e11298390f24dbf7160a48edec9142ac0085 (diff) | |
download | bips-b7aebcd5e64a634d5e5c1534b98045584f39ae95.tar.xz |
Merge pull request #1346 from evanlinjin/bip141-improve-wording
bip-141: improve `witness` field wording
-rw-r--r-- | bip-0141.mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0141.mediawiki b/bip-0141.mediawiki index 8528729..efdd9c9 100644 --- a/bip-0141.mediawiki +++ b/bip-0141.mediawiki @@ -56,7 +56,7 @@ The <code>marker</code> MUST be a 1-byte zero value: <code>0x00</code>. The <code>flag</code> MUST be a 1-byte non-zero value. Currently, <code>0x01</code> MUST be used. -The <code>witness</code> is a serialization of all witness data of the transaction. Each txin is associated with a witness field. A witness field starts with a <code>var_int</code> to indicate the number of stack items for the txin. It is followed by stack items, with each item starts with a <code>var_int</code> to indicate the length. Witness data is NOT script. +The <code>witness</code> is a serialization of all witness fields of the transaction. Each txin is associated with a witness field. A witness field starts with a <code>var_int</code> to indicate the number of stack items for the txin. It is followed by stack items, with each item starts with a <code>var_int</code> to indicate the length. Witness data is NOT script. A non-witness program (defined hereinafter) txin MUST be associated with an empty witness field, represented by a <code>0x00</code>. If all txins are not witness program, a transaction's <code>wtxid</code> is equal to its <code>txid</code>. |