summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke_github1@dashjr.org>2022-07-25 22:47:46 +0000
committerGitHub <noreply@github.com>2022-07-25 22:47:46 +0000
commitb7aebcd5e64a634d5e5c1534b98045584f39ae95 (patch)
tree9d21570d8715a1f396eb24ce4fa0e4689efabd90
parent20b460b6d2ac5b20533e0f933214a989c6957f40 (diff)
parentac80e11298390f24dbf7160a48edec9142ac0085 (diff)
downloadbips-b7aebcd5e64a634d5e5c1534b98045584f39ae95.tar.xz
Merge pull request #1346 from evanlinjin/bip141-improve-wording
bip-141: improve `witness` field wording
-rw-r--r--bip-0141.mediawiki2
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>.