2
1
...or is each client responsible for storing hashes for blocks and transactions in their own database? So when I send a transaction, I indicate the prev_out by its hash, and I just assume everyone on the network will know what that hash means, even though it's not specifically, literally IN the blockchain?
Is blockexplorer.com doing me a favor by listing the hash for this raw Tx? Or is that hash actually sent by the original transaction-sender? http://blockexplorer.com/rawtx/85dce726e04af12eaaa716d00c753e2b7d6eb83a04c2c20e1b71a63d9512f03a
Thanks for replying, but I was wondering if literally the actual 32 byte hash for each Tx is in the blockchain. I know the explorer sites can display the Tx with pretty-printed JSON and include the hash there, but in the technical pages of the Wiki, there is no actual place in the Tx message to store the hash – pinhead – 2013-12-04T20:07:39.810
https://en.bitcoin.it/wiki/Protocol_specification#tx – pinhead – 2013-12-04T20:22:30.983
You can use the Json-RPC call getrawtransaction [hash]. Wait for bitcoin to sync and then disconnect from the internet and try it. They're definitely in the block chain however some newer clients don't download the full chain by default. – John – 2013-12-04T20:36:55.750
So when I send a Tx message to my peers, part of the data I send is a hash of... The rest of the data I send? – pinhead – 2013-12-04T20:43:27.467
A transaction effectively contains all the input transaction hashes, all the outputs (addresses and amounts), a signature and a hash of the whole lot which becomes the transaction id. – John – 2013-12-04T20:45:47.327