Survivability of industrial internet of things using machine learning and smart contracts. (April 2023)