Blockchains for decentralized optimization of energy resources in microgrid networks | Synapse