Update ch06.asciidoc

pull/864/head
krupawan5618 3 years ago committed by GitHub
parent 911d4a073e
commit e6e0b43d4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -285,7 +285,7 @@ Hints:
* 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")))
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 portion is further elaborated on in <<seralization_of_signatures_der>>. This portion includes a Signature Hash Type (SIGHASH), which is detailed in <<sighash_types>>.
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_in_structure]]
.ScriptSig input serialization
@ -295,7 +295,7 @@ When scriptSigs are serialized for transmission on the network, their inputs are
| 1&#x2013;9 bytes (VarInt) | Signature Size | Signature length in bytes, to follow
| Variable | Signature | A signature that is produced by the users wallet from his or her private key, which includes a SIGHASH
| 1&#x2013;9 bytes (VarInt) | Public Key Size | Public key length in bytes, to follow
| Variable | Public Key | The public key, which is equivalent to a bitcoin address, without the Base58Check encoding
| Variable | Public Key | The public key, unhashed
|=======
[[tx_fees]]

Loading…
Cancel
Save