Skip to main content
Tweeted twitter.com/StackBitcoin/status/941498299202310144
Changed the title to be more accurate and relevant to the question asked
Link

Verifying that a transaction is in the blockchain

Source Link
sju
  • 31
  • 1

Verifying the blockchain

Let me first start off by saying im just learning about blockchain and the technical aspects.

From my understanding, each transaction is cryptographically hashed, the hashes are paired and hashed until a single root hash is generated. The miners hash the entire block containing the root hash, previous hash, timestamp etc. If the hash meets the target difficulty then the block is added to the chain. Cryptographic hashing makes it infeasible to obtain the input from the hash output.

Q. If say, I wanted to go back to block X and see which transactions it contains, how is that possible if all the hashes are cryptographic and its infeasible to find the input from the hash output?

Thanks in advance.