The peer-to-peer (P2P) network of blockchain used to transport its transactions and blocks has a high impact on the efficiency and security of the system. The P2P network topologies of popular blockchains such as Bitcoin and Ethereum, therefore, deserve our highest attention. The current Ethereum blockchain explorers (e.g., Etherscan) focus on the tracking of block and transaction records but omit the characterization of the underlying P2P network. This work presents the Ethereum Network Analyzer (Ethna), a tool that probes and analyzes the P2P network of the Ethereum blockchain. Unlike Bitcoin that adopts an unstructured P2P network, Ethereum relies on the Kademlia DHT to manage its P2P network. Therefore, the existing analytical methods for Bitcoin-like P2P networks are not applicable to Ethereum. Ethna implements a novel method that accurately measures the degrees of Ethereum nodes. Furthermore, it incorporates an algorithm that derives the latency metrics of message propagation in the Ethereum P2P network. We ran Ethna on the Ethereum Mainnet and conducted extensive experiments to analyze the topological features of its P2P network. Our analysis shows that the Ethereum P2P network possesses a certain effect of small-world networks, and the degrees of nodes follow a power-law distribution that characterizes scale-free networks.
1 February 2021 in International Journal of Intelligent Systems
This paper investigates a futuristic spectrum sharing paradigm for heterogeneous wireless networks with imperfect channels. In the heterogeneous networks, multiple wireless networks adopt different medium access control (MAC) protocols to share a common wireless spectrum and each network is unaware of the MACs of others. This paper aims to design a distributed deep reinforcement learning (DRL) based MAC protocol for a particular network, and the objective of this network is to achieve a global $\alpha$ -fairness objective. In the conventional DRL framework, feedback/reward given to the agent is always correctly received, so that the agent can optimize its strategy based on the received reward. In our wireless application where the channels are noisy, the feedback/reward (i.e., the ACK packet) may be lost due to channel noise and interference. Without correct feedback, the agent (i.e., the network user) may fail to find a good solution. Moreover, in the distributed protocol, each agent makes decisions on its own. It is a challenge to guarantee that the multiple agents will make coherent decisions and work together to achieve the same objective, particularly in the face of imperfect feedback channels. To tackle the challenge, we put forth (i) a feedback recovery mechanism to recover missing feedback information, and (ii) a two-stage action selection mechanism to aid coherent decision making to reduce transmission collisions among the agents. Extensive simulation results demonstrate the effectiveness of these two mechanisms. Last but not least, we believe that the feedback recovery mechanism and the two-stage action selection mechanism can also be used in general distributed multi-agent reinforcement learning problems in which feedback information on rewards can be corrupted.
This article proposes deep learning (DL) framework constructed using deep autoencoder (DAE) to detect the malicious nodes in an Internet of Things (IoT) network assisted by the cognitive radio (CR) technology. In the IoT era, a plethora of nodes are connected to the network for the purpose of collecting and exchanging data. CR technology finds its role in IoT applications because of its ability to efficiently exploit the available spectrum. In this article, we consider IoT nodes as secondary users that perform cooperative spectrum sensing (CSS). Specifically, these IoT nodes sense the spectrum and send their reports to the fusion center (FC) to determine whether the spectrum is occupied by the primary user or not. In such a scenario, the existence of malicious IoT nodes might mislead the FC. To determine which of these IoT nodes are benevolent and which are malicious is crucial. We adopt a DAE-based DL framework, called DAE-TRUST, to detect malicious nodes in CR-assisted IoT. The proposed DAE-TRUST is able to identify the malicious nodes, whose reports can be excluded from the spectrum detection process. Simulation results, in six different real-world environments, show that our DAE-TRUST enhances the performance of CSS in IoT applications.