A blockchain-based decentralized energy management in a P2P trading system | Synapse