mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2025-01-11 08:10:54 +00:00
Made changes to ch03.asciidoc
This commit is contained in:
parent
99f89976d1
commit
70c2adf04e
@ -636,8 +636,9 @@ To decode this hex string, use the +decoderawtransaction+ command. Copy and past
|
|||||||
$ bitcoin-cli decoderawtransaction 0100000001d717...388ac00000000
|
$ bitcoin-cli decoderawtransaction 0100000001d717...388ac00000000
|
||||||
----
|
----
|
||||||
|
|
||||||
[source,json]
|
|
||||||
----
|
++++
|
||||||
|
<screen language="json">
|
||||||
{
|
{
|
||||||
"txid" : "9ca8f969bd3ef5ec2a8685660fdbf7a8bd365524c2e1fc66c309acbae2c14ae3",
|
"txid" : "9ca8f969bd3ef5ec2a8685660fdbf7a8bd365524c2e1fc66c309acbae2c14ae3",
|
||||||
"version" : 1,
|
"version" : 1,
|
||||||
@ -681,7 +682,8 @@ $ bitcoin-cli decoderawtransaction 0100000001d717...388ac00000000
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
----
|
</screen>
|
||||||
|
++++
|
||||||
|
|
||||||
The transaction decode shows all the components of this transaction, including the transaction inputs and outputs. In this case we see that the transaction that credited our new address with 50 millibits used one input and generated two outputs. The input to this transaction was the output from a previously confirmed transaction (shown as the vin txid starting with +d3c7+). The two outputs correspond to the 50 millibit credit and an output with change back to the sender.
|
The transaction decode shows all the components of this transaction, including the transaction inputs and outputs. In this case we see that the transaction that credited our new address with 50 millibits used one input and generated two outputs. The input to this transaction was the output from a previously confirmed transaction (shown as the vin txid starting with +d3c7+). The two outputs correspond to the 50 millibit credit and an output with change back to the sender.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user