Source transaction for raw exchanges

+1 vote
When you decode the hex string from createrawexchange you see the offer but it does not contain the transaction id from the source node. Or is this information already contained in the hex string but only hidden in the JSON decoded format?

If it's not in the hex string, how the chain creates the exchange transaction? And how can the chain find the appropriate asset locking transactions and mark them as inputs for the exchange transaction?
asked Sep 15, 2015 by anonymous

2 Answers

0 votes

The source txid is definitely in there - we just don't show it in the normal output of decoderawexchange. You can also pass the same hex string to decoderawtransaction to get a different view of its contents, less focused on the DvP exchange, which includes the source txid and vout.

answered Sep 15, 2015 by MultiChain
0 votes

Alpha 11 adds appropriate txid and vout fields to the output of decoderawexchange if verbose=true.

answered Nov 19, 2015 by MultiChain
...