mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-23 00:28:14 +00:00
Made changes to ch08.asciidoc
This commit is contained in:
parent
a93c8e17e2
commit
36d6867e2f
@ -307,8 +307,9 @@ Finally, the coinbase reward (+nSubsidy+) is added to the transaction fees (+nFe
|
|||||||
|
|
||||||
With these calculations, Jing's node then constructs the generation transaction to pay himself 25.09094928 bitcoin.
|
With these calculations, Jing's node then constructs the generation transaction to pay himself 25.09094928 bitcoin.
|
||||||
|
|
||||||
As you can see in <<generation_tx_example>>, the generation transaction has a special format. Instead of a transaction input specifying a previous UTXO to spend, it has a "coinbase" input. We examined transaction inputs in <<tx_in_structure>>. Let's compare a regular transaction input with a generation transaction input. Table 8-1 shows the structure of a regular transaction, while Table 8-2 shows the structure of the generation transaction's input.
|
As you can see in <<generation_tx_example>>, the generation transaction has a special format. Instead of a transaction input specifying a previous UTXO to spend, it has a "coinbase" input. We examined transaction inputs in <<tx_in_structure>>. Let's compare a regular transaction input with a generation transaction input. <<table_8-1>> shows the structure of a regular transaction, while <<table_8-2>> shows the structure of the generation transaction's input.
|
||||||
|
|
||||||
|
[[table_8-1]]
|
||||||
.The structure of a "normal" transaction input
|
.The structure of a "normal" transaction input
|
||||||
[options="header"]
|
[options="header"]
|
||||||
|=======
|
|=======
|
||||||
@ -320,7 +321,7 @@ As you can see in <<generation_tx_example>>, the generation transaction has a sp
|
|||||||
| 4 bytes | Sequence Number | Currently disabled Tx-replacement feature, set to 0xFFFFFFFF
|
| 4 bytes | Sequence Number | Currently disabled Tx-replacement feature, set to 0xFFFFFFFF
|
||||||
|=======
|
|=======
|
||||||
|
|
||||||
|
[[table_8-2]]
|
||||||
.The structure of a generation transaction input
|
.The structure of a generation transaction input
|
||||||
[options="header"]
|
[options="header"]
|
||||||
|=======
|
|=======
|
||||||
|
Loading…
Reference in New Issue
Block a user