by wyager · 5y ago · 0 comments
Proof-of-stake is vulnerable to various miner collusion attacks that Bitcoin is not vulnerable to. The gist of it is that casting multiple conflicting votes (sometimes way after you cast your original vote) doesn't require any additional resources in a proof-of-stake system, whereas casting additional votes in a proof-of-work system is very expensive.
It's a hard thing to get right.
Each node picks a random value, and publishes the hash of it to the blockchain, then, when the network has reached finality on what all the hashes are, the nodes publish the random values themselves, and the network takes the XOR of all of them.