summaryrefslogtreecommitdiff
path: root/bip-0144.mediawiki
diff options
context:
space:
mode:
authorOrfeas Stefanos Thyfronitis Litos <orfeas.litos@hotmail.com>2024-07-25 18:35:39 +0300
committerOrfeas Stefanos Thyfronitis Litos <orfeas.litos@hotmail.com>2024-07-25 18:35:39 +0300
commit9a56d3544eac1f949a747c251810f7a440d63fb9 (patch)
tree7a9af782a2d18093f9911a7bc1118559e4dd7f7a /bip-0144.mediawiki
parentad1d3bc2a7b0d84247c29f847e85c35283094e2f (diff)
Remove trailing whitespace from all BIPs
Diffstat (limited to 'bip-0144.mediawiki')
-rw-r--r--bip-0144.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0144.mediawiki b/bip-0144.mediawiki
index 8ec2191..56e075a 100644
--- a/bip-0144.mediawiki
+++ b/bip-0144.mediawiki
@@ -79,7 +79,7 @@ The serialization has the following structure:
Parsers supporting this BIP will be able to distinguish between the old serialization format (without the witness) and this one. The marker byte is set to zero so that this structure will never parse as a valid transaction in a parser that does not support this BIP. If parsing were to succeed, such a transaction would contain no inputs and a single output.
-If the witness is empty, the old serialization format must be used.
+If the witness is empty, the old serialization format must be used.
Currently, the only witness objects type supported are script witnesses which consist of a stack of byte arrays. It is encoded as a var_int item count followed by each item encoded as a var_int length followed by a string of bytes. Each txin has its own script witness. The number of script witnesses is not explicitly encoded as it is implied by txin_count. Empty script witnesses are encoded as a zero byte. The order of the script witnesses follows the same order as the associated txins.