I. Introduction
Internet-of-things (IoT) applications have become an integral part of our life. IoT networks are heavily dependent on wired and wireless identifiable devices. Several IoT networks use wireless sensors that are connected to a centralized device (e.g., a router), which is responsible for managing the operations of the sensors and their connections to the Internet. Wireless sensor networks (WSNs) are integrated within IoT deployments when networked to the Internet. A WSN is a group of large number of sensor nodes and a base-station (so-called sink node). The sensor nodes have limited processing, storage, and communication capabilities. WSNs have several applications, such as military operations, environmental monitoring, and disaster management [1]. For monitoring and early-warning IoT-enabled WSNs, the collected information from the sensor nodes must be trustworthy. In such systems, the IoT sensor devices will detect the event of interest and generate an alert packet for warning and early detection of that event, such as the gas leak detection IoT system in [2]. However, there is a chance for these sensor nodes to behave unreliably due to their limited capabilities and the inhospitable physical environments in which these nodes are deployed [3], [4]. To save energy and increase the number of live nodes, one of the most commonly used solutions is clustering, where a group of sensor nodes forms a cluster, and only the cluster-head sensor node is responsible for interacting with the base-station [5]. Clustering is efficient because it can prevent exchanging redundant messages and can maintain the communication bandwidth, stabilize the topology of the network, and reduce the communication overhead.