user121779: My understanding is that transactions are stored on the blockchain in double hashed format: ie SHA256(SHA256(rawtransaction)). But it is also possible to get access to the raw transaction. This means that the raw transaction data must be stored somewhere. So where is the raw transaction data stored, if it isn't stored on the blockchain? Or was my initial statement incorrect about transactions being stored in double hashed format? I don't think the raw transaction data can be extracted by reversing the double hash operation.

user208: This is a question of definition.
The blockchain doesn't store anything, it's an abstract data structure that's collectively maintained by nodes in a network. Those nodes are the ones that store things. That may or may not include the actual transaction data - it doesn't matter.
The Bitcoin blockchain consists of hash-linked block headers. Every block header contains the hash of the previous block header. Every block header also contains a hash of all the transaction hashes in it (through a Merkle tree). Those transaction hashes obviously are hashes of the transaction data itself.
That's a definition of the structure all nodes need to agree on, because it involves hashes, and those hashes need to match. But what they actually store of that is their own business. Full nodes with unpruned history will store all transactions and all blocks. Pruned nodes may store all transactions and blocks down to a particular point in history. More lightweight nodes may only store the block headers plus transactions the user is interested in.

121779: <p>My understanding is that transactions are stored on the blockchain in double hashed format: ie SHA256(SHA256(rawtransaction)). But it is also possible to get access to the raw transaction. This means that the raw transaction data must be stored somewhere. So where is the raw transaction data stored, if it isn't stored on the blockchain? Or was my initial statement incorrect about transactions being stored in double hashed format? I don't think the raw transaction data can be extracted by reversing the double hash operation.</p>
 208: <p>This is a question of definition.</p>
<p>The blockchain doesn't store anything, it's an abstract data structure that's collectively maintained by nodes in a network. Those nodes are the ones that store things. That may or may not include the actual transaction data - it doesn't matter.</p>
<p>The Bitcoin blockchain consists of hash-linked block headers. Every block header contains the hash of the previous block header. Every block header also contains a hash of all the transaction hashes in it (through a Merkle tree). Those transaction hashes obviously are hashes of the transaction data itself.</p>
<p>That's a definition of the structure all nodes need to agree on, because it involves hashes, and those hashes need to match. But what they actually store of that is their own business. Full nodes with unpruned history will store all transactions and all blocks. Pruned nodes may store all transactions and blocks down to a particular point in history. More lightweight nodes may only store the block headers plus transactions the user is interested in.</p>
