Maximizing the System Energy Efficiency in the Blockchain Based Internet of Things | Synapse