Is a mqn in the middle attack possible for a newly hashed block?
I want to discuss a theory that it mightbe possible to intercept a new hash for the next block before it has been broadcasted to other nodes and thus - steal the block reward by broadcasting the hash faster.
When a miners hashing work has been done and a sufficient hash has been found it still has to be broadcasted online to claim the block reward.
What does the bitcoin network does to prevent that broadcasted data to be intercepted by a MitM attack?
Posted Apr 21, 2023, 5:44 AM UTC
Miners don't broadcast the hash. They just broadcast the block itself. Nodes independently hash the block and determine if the hash is valid.
This video does a better job of explaining it: https://www.youtube.com/watch?v=_160oMzblY8
while true, it doesn't answer the question
no, the proposed attack is not possible. explanation:
the block header is hashed to find the pow solution
the block header contains the merkle root
the merkle root is derived from the block's txns, which includes the coinbase txn
if an attacker wants to modify the coinbase txn to steal the block reward, this would change the merkle root => changes the block header => renders the stolen pow solution invalid