I am trying to get my head around how the protocol selects validators.
So far here is what I pieced together:
At the beginning of each epoch a randomized committee is chosen to run a coin toss.
The coin toss takes place in two stages: the commitment stage and the reveal stage. This is to limit the ability of bad actors to pick results that favor them.
At the reveal stage the results of the coin toss are Xored and committed to the ledger. These effectively pick the 21600 validators for the next epoch.
Can someone walk me through teach stage showing me what exactly happens in a system with let’s say 100 coins? I am not sure exactly how the results of a random number generation get mapped to specific coins whose owners get to sign blocks.