1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-23 00:28:14 +00:00

Update ch06.asciidoc

A quick note that scriptsig is just one type of unlocking script - adheres to chapters main intent of using "unlocking/locking script" more broadly.
This commit is contained in:
krupawan5618 2021-03-08 13:42:59 -05:00 committed by GitHub
parent e6e0b43d4c
commit 778f50fd8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,7 +285,7 @@ Hints:
* The length of the +scriptSig+ is 139 bytes, or +8b+ in hex * The length of the +scriptSig+ is 139 bytes, or +8b+ in hex
* The sequence number is set to +FFFFFFFF+, again easy to identify((("", startref="alicesix"))) * The sequence number is set to +FFFFFFFF+, again easy to identify((("", startref="alicesix")))
When scriptSigs are serialized for transmission on the network, their inputs are encoded into a byte stream as shown in <<scriptsig_in_structure>>. The serialization of the signature field is detailed in <<seralization_of_signatures_der>>. The signature field also includes a Signature Hash Type (SIGHASH), which is detailed in <<sighash_types>>. ScriptSig is a specific type of unlocking script that when serialized for transmission on the network, inputs are encoded into a byte stream as shown in <<scriptsig_in_structure>>. The serialization of the signature field is detailed in <<seralization_of_signatures_der>>. The signature field also includes a Signature Hash Type (SIGHASH), which is detailed in <<sighash_types>>.
[[scriptsig_in_structure]] [[scriptsig_in_structure]]
.ScriptSig input serialization .ScriptSig input serialization