6

Say we have two miners, Alice (an honest miner), and Eve (an evil miner).

My understanding is that when Alice mines a block she advertises it to the network, and once it's part of the longest block chain Alice earns mining reward + eventual transactions fees.

But could Eve steal this block (and the associated reward + fees)? When Alice publishes the block to the network, what happens if Eve republishes it as its own block? What if Eve is able to propagate the news that she mined the block herself in the network than Alice can?

I'm pretty sure Bitcoin has some mechanism around this issue and I'm curious to see how it works.

6

No.

The block that Alice mined includes the mining rewards going to Alice's address. If Eve alters the block data to output the rewards to her own receiving address, then the nonce (and other variable values, I think "extranonce" and timestamp) that Alice used to solve the block will almost certainly no longer solve the block.

  • 2
    So if I understand correctly, the miner's address is part of the hash it has to compute? (so if Eve was to tamper with it then the nonce wouldn't work anymore, right?) – user2813687 Nov 25 '13 at 10:55
  • @user2813687, yup, you've got it. – Highly Irregular Nov 26 '13 at 0:55
  • Eve either publishes Alice's block or she doesn't. If she publishes Alice's block, she's helping Alice get her block out. If she doesn't, then she has no effect on Alice. – David Schwartz Nov 3 '17 at 20:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.