A secure and efficient mechanism for P2P smart grid energy trading | Synapse