eco-friendly cryptocurrencies and energy-efficient consensus mechanisms