From a2729d74587e530ce1163b68c710a517f9fdf9ed Mon Sep 17 00:00:00 2001 From: "judymcconville@roadrunner.com" Date: Fri, 28 Apr 2017 09:10:36 -0700 Subject: [PATCH] Edited ch03.asciidoc with Atlas code editor --- ch03.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch03.asciidoc b/ch03.asciidoc index 47ea00f2..70bfda3c 100644 --- a/ch03.asciidoc +++ b/ch03.asciidoc @@ -513,7 +513,7 @@ It will take some time, perhaps more than a day, for the +bitcoind+ client to "c [[exploring_and_decoding_transanctions]] ==== Exploring and Decoding Transactions -Commands: +getrawtransaction+, +decoderawtransaction+ +((("Bitcoin Core", "Bitcoin Core API", "exploring and decoding transactions")))((("transactions", "exploring with Bitcoin Core API")))Commands: +getrawtransaction+, +decoderawtransaction+ @@ -537,7 +537,7 @@ ae24cb02204b9f039ff08df09cbe9f6addac960298cad530a863ea8f53982c09db8f6e3813014&#x [TIP] ==== -Transaction IDs are not authoritative until a transaction has been confirmed. Absence of a transaction hash in the blockchain does not mean the transaction was not processed. This is known as "transaction malleability," because transaction hashes can be modified prior to confirmation in a block. After confirmation, the txid is immutable and authoritative. +((("transactions", "transaction IDs")))Transaction IDs are not authoritative until a transaction has been confirmed. Absence of a transaction hash in the blockchain does not mean the transaction was not processed. This is known as "transaction malleability," because transaction hashes can be modified prior to confirmation in a block. After confirmation, the txid is immutable and authoritative. ==== The command +getrawtransaction+ returns a serialized transaction in hexadecimal notation. To decode that, we use the +decoderawtransaction+ command, passing the hex data as a parameter. You can copy the hex returned by +getrawtransaction+ and paste it as a parameter to +decoderawtransaction+: