The Blockchain in Microgrids for Transacting Energy and Attributing Losses | Synapse