From 4d7892a0acd7485443229ef2492409145d74053e Mon Sep 17 00:00:00 2001 From: "myarbrough@oreilly.com" Date: Tue, 18 Nov 2014 06:55:22 -0800 Subject: [PATCH] Made changes to ch03.asciidoc --- ch03.asciidoc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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.