3 ms·
Heres my understanding of it: committee assignment is random, as in baked into the protocol, similar to how a validator is selected for a block (i.e. randomly).
by rgrmrts 4y ago
Heres my understanding of it: committee assignment is random, as in baked into the protocol, similar to how a validator is selected for a block (i.e. randomly).
While only one validator creates the block, others create attestations which I understand as duplicate work done to check the chosen validators produced block.
If an entire country goes down, those validators fall out of the active set and assuming some majority is still active they'll produce and verify blocks.
Incorrect state is rejected by the majority, and the minority is punished (slashing their stake).
Full disclosure, I'm not an expert - just an enthusiast interested in these protocols. Would love for someone more knowledgeable to correct my mistakes. I'm also not arguing for or against anything here.
- bhaak 4y ago> Incorrect state is rejected by the majority, and the minority is punished (slashing their stake). That's wrong. Also the state of those validators that are separated from the larger network is not wrong it's just not the same as what the majority considers the state. They will be on a forked chain of the network. But for being on a fork, no validator is slashed. They will only lose out on the rewards they would have gotten on the majority chain. Validators are only slashed if they try to vote for the same slot/blockheight on different forks of the chain.
- rgrmrts 4y agoAh, thanks. How does the forked chain reconcile with the rest of the network once the networks sync back up?
- bhaak 4y agoI think that depends on how long the validators were cut off from the majority of validators. Ethereum's POS has a concept called finality which means that under certain conditions the blockchain gets checkpoints that can't ever be reverted. Somewhat simplified but the the blocks are finalized if 2/3rd of the validators validated the last 64 blocks. So, normally after about 13 minutes you can be sure if the transactions are set in stone or not. If the cut off validators are reunited after not too long, they won't have been able to finalize any blocks and then they will just throw away the part of the chain they have been building since they were separated from the majority. As far as I understand it that's quite similar to a reorg on a POW blockchain. The other case, if they've been separated for a very long time, the situation is a bit different. If you don't follow your duties as a validator, you get penalized. A little of your staked ETH is burned. Note, that's not the same as slashing (which is much harsher) and if your staked ETH balance falls below 16 ETH, you're kicked off the list of validators. This is so that active validators will be able to reach again a 2/3rd majority after a while and be able to finalize blocks. If this happens to our cut off validators, even if they get access to the other validators data again, they can't reorg the blockchain as their blocks have been finalized. In this case, the admins need to manually reset the data so the validators can rejoin the correct chain. This is a known issue which POW networks don't have. There you can always rely on the chain that has the most work done. But the work is cheap and fast in POS networks so you sometimes need to get external info and verify it by hand.