The Path to Proof of Stake