Proof of work mining vs. proof of stake mining: conclusive guide