diff --git a/ch03.asciidoc b/ch03.asciidoc index 67489429..5e0ccea0 100644 --- a/ch03.asciidoc +++ b/ch03.asciidoc @@ -636,9 +636,8 @@ To decode this hex string, use the +decoderawtransaction+ command. Copy and past $ bitcoin-cli decoderawtransaction 0100000001d717...388ac00000000 ---- - -++++ - +[source,json] +---- { "txid" : "9ca8f969bd3ef5ec2a8685660fdbf7a8bd365524c2e1fc66c309acbae2c14ae3", "version" : 1, @@ -682,8 +681,7 @@ $ bitcoin-cli decoderawtransaction 0100000001d717...388ac00000000 } ] } - -++++ +---- 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.