Rethinking consensus for a more sustainable Blockchain: from PoW to PoS