mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-26 09:58:22 +00:00
Made changes to ch03.asciidoc
This commit is contained in:
parent
81942e6761
commit
4d7892a0ac
@ -636,9 +636,8 @@ To decode this hex string, use the +decoderawtransaction+ command. Copy and past
|
||||
$ bitcoin-cli decoderawtransaction 0100000001d717...388ac00000000
|
||||
----
|
||||
|
||||
|
||||
++++
|
||||
<programlisting language="json">
|
||||
[source,json]
|
||||
----
|
||||
{
|
||||
"txid" : "9ca8f969bd3ef5ec2a8685660fdbf7a8bd365524c2e1fc66c309acbae2c14ae3",
|
||||
"version" : 1,
|
||||
@ -682,8 +681,7 @@ $ bitcoin-cli decoderawtransaction 0100000001d717...388ac00000000
|
||||
}
|
||||
]
|
||||
}
|
||||
</programlisting>
|
||||
++++
|
||||
----
|
||||
|
||||
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