Blockchain-based trust management and authentication of devices in smart grid | Synapse