Improving the privacy, scalability, and ecological impact of blockchains