mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-23 00:28:14 +00:00
Fix BTC to Satoshi calc second try
In my initial read I fixed the wrong part of the calc sorry about that, it should be 0.015 instead of 0.15 to be inline with the rest of the example so the change is - 0.015 bitcoin is 1,5000,000 satoshis
This commit is contained in:
parent
b799bdd2be
commit
04382e0dbd
@ -156,7 +156,7 @@ See if you can manually decode Alice's transaction from the serialized hexadecim
|
||||
Here are some hints:
|
||||
|
||||
* There are two outputs in the highlighted section, each serialized as shown in the table <<tx_out_structure>>
|
||||
* The value of 0.15 bitcoin is 15,000,000 satoshis. That's +16 e3 60+ in hexadecimal.
|
||||
* The value of 0.015 bitcoin is 1,5000,000 satoshis. That's +16 e3 60+ in hexadecimal.
|
||||
* In the serialized transaction, the value +16 e3 60+ is encoded in little-endian (least-significant-byte-first) byte order, so it looks like +60 e3 16+
|
||||
* The +scriptPubKey+ length is 25 bytes, which is +19+ in hexadecimal
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user