What are the main differences between proof of work and proof of stake, and how do they affect network security? #CryptoAMA