A blockchain-based secure transaction model for distributed energy in Industrial Internet of Things | Synapse