3

During the relay process a node finds the solution and forwards that solved block to all other nodes in the network to validate that it has indeed solved the problem. But then what if another node decides to rebroadcast it again and claim that he was the one who found the answer first.

0

1 Answer 1

9

Do you modify the block or do you not modify the block?

If you don't modify the block, it still pays the mining reward to the same account. So you've just done what everyone wants you to do.

If you do modify the block, it won't be valid anymore until and unless you mine it. That leaves you two choices:

1) You can ignore this block and mine some other block. But then someone else who mines on top of this block will have a longer chain than you and you won't get any reward. So why would you do this?

2) You can mine on top of this block. Well, that will just help ensure the person who mined that block gets their reward by producing an even longer chain that includes their block.

8
  • A block contains: Version, HashPrevBlock, HashMerkelRoot, Time, Bit, Nonce, which one of these is the miner identifier. Nov 14, 2016 at 11:25
  • @UtsavMitrakaushiBasak None of those are. The coinbase transaction specifies what account the mining reward is paid to. The HashMerkleRoot is the hash of the Merkle tree of transactions, including the coinbase transaction. The whole point of mining is to secure the transactions. Nov 14, 2016 at 11:28
  • Understood, as in the transaction for the reward is included in the block, so no matter who confirms it the reward will go to the sender right? Nov 14, 2016 at 11:31
  • 4
    @UtsavMitrakaushiBasak Everyone confirms the same block. The whole point of mining is to bind the transactions into the block so that they cannot be disassociated. There is nothing but the block. There isn't a block plus something else that claims it somehow. The block is the claim. Nov 14, 2016 at 11:31
  • I still don't get it. When the solution is broadcasted, I don't have to modify a block. I simply use the nounce thats broadcasted, abandon the block in which the solution was broadcasted and creaty my own with the solution I just stole and then broadcast my new blockchain to as many nodes as possible and simply hope I'm connected to more than the original sender. I still see a big problem here. Sep 11, 2020 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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