Proof of work vrs Proof of stake