0
As I was reading Bitcoin hashing algorithm, I see that a Block Header contains hashes in the form of fields like
hashPrevBlock , hashMerkleRoot . I have following questions:
1) Are the transactions 100% secure? If yes, then I am wondering if Hash is the reason behind it? Since moving forward in a hash is easy than backwards.
2) Suppose there are two identical transactions happening at the same time, are those transactions are going to get differentiated based on the Hashes ?
Please elaborate.
2 identical transactions is impossible. A transaction by definition includes inputs and amounts and outputs and signatures. If all of that is identical then it's actually one and the same transaction. But yes as the transactions won't be identical the hashes won't be either so they are easily differentiated by the hashes. – Jannes – 2015-04-30T14:51:41.153
2 identical transactions is both possible and has happened in the live blockchain before. for example, block 91842 and block 91812 both have the exact same coinbase tx. once one of these is spent then the other becomes unspendable.
– mulllhausen – 2015-05-20T01:29:09.147