A new block is added to blockchain if more than 50% of miners say that it is solved correctly. Does it mean that all other miners also do the same proof of work by including the same transactions as in the broadcasted block, and same nounce, as used by the miner of latest block?
2 Answers
Each full-node checks the validity of blocks. Checking the validity of a block is indeed done by repeating all steps of building that block and checking for adherence to all consensus rules. If a block infringes any rule, a full-node will consider the block invalid, ignore the block, and ban the node that sent it to him from his peers for 24h for sending invalid information.
As each miner should be running a full-node to stay abreast of the current blockchain-tip, either all miners or no miners should consider a block valid (as long as they are in agreement on the consensus rules that apply).
-
Just want to confirm one thing, I suppose the block validation is done after the block was mined by a miner, but once the block is rejected by the maximum full nodes, then the blockchain with that block leading is ignored and a new valid block is mined by another full node, and then the valid block will lead the blockchain, until another block is added above it. Commented Mar 27, 2017 at 23:53
-
I'm not sure that I understand your question, but every node independently checks validity of blocks and ignores invalid blocks, invalid blocks don't get created usually. If they do get created they don't get seen by most of the network, as they don't get relayed.– Murch ♦Commented Mar 28, 2017 at 0:15
A new block is added to blockchain if more than 50% of miners say that it is solved correctly.
wrong. you can not caclulate the percentage. you can either accept block to your chain or reject it
-
If other nodes / miners in the network simply accept or reject it, then there is suppose to be a threshold whether in number or in percentage that decides, whether block is to be added to chain or rejected. Commented Mar 27, 2017 at 6:34
-
you can not caclulate the percentage. you can either accept block to your chain or reject it– amaclinCommented Mar 27, 2017 at 8:07