IoT network generates a large amount of data. This means that the monitoring and control of these networks and the transfer of packets from the IoT network to the server can cause communications to collapse. On the other hand, due to the large volume of data stored in the databases the monitoring of the IoT network needs very powerful servers to have a high degree of efficiency. This paper presents a novel adaptive closed-loop control system and speed up searches model to improve the monitor and control efficiency in IoT networks, specially those which are based in blockchain. The non linear control model under consideration includes a new way to evaluate the optimal number of blocks that should be at the queue of the miners’ network in order to make the process efficient through the use of queuing theory. Also, a new system to speed up searches is presented by using hashmaps, which makes the monitoring process faster, reliable and efficient. The efficiency of the presented approach is illustrated by a numerical case study.