Blockchain in Decentralized Energy Marketplaces