Some questions already adressed related points (stopping fraud in a mining pool, what prevents a pool miner for stealing a whole block) however my query is completely different from these, if I perceive accurately the mechanism.
Right here is my level: As an instance for simplification there are solely three nodes within the blockchain:
- Platform node, the one platform the place you possibly can alternate BTC for FIAT, in America
- My node, in Europe
- Dangerous man’s node, in Europe
My and dangerous man’s node are each mining, in addition to Platform’s node. Now, think about I discover the answer for a block at T time. At T + 1 second, my node sends the answer on the community. My resolution is product of:
- My public key the place I am getting the reward
- Information = block with the answer
- Signed Information with my key
At T+ 2 seconds, dangerous man’s node receives the answer. However dangerous man has a particular code snippet: he reads my candidate resolution, steals it and writes a brand new candidate block that he sends on the community together with his public key and his signature.
As a result of he has higher connection, CPU or no matter community methods, Dangerous Man’s candidate block arrives to platform’s node at T+3 seconds and my candidate block arrives at T+4 secondes.
Query:
So on this scenario, the reward from mining would go to the dangerous man’s node from the standpoint of the platform’s node. And I might not be capable to get well them in FIAT. What mechanism prevents such a stealing?