Towards a Green Blockchain