摘要
This paper presents a Deep Reinforcement Learning(DRL)based Internet of Things(IoT)-enabled Prism blockchain.The recent advancements in the field of IoT motivate the development of a secure infrastructure for storing and sharing vast amounts of data.Blockchain,a distributed and immutable ledger,is best known as a potential solution to data security and privacy for the IoT.The scalability of blockchain,which should optimize the throughput and handle the dynamics of the IoT environment,becomes a challenge due to the enormous amount of IoT data.The critical challenge in scaling blockchain is to guarantee decentralization,latency,and security of the system while optimizing the transaction throughput.This paper presents a DRL-based performance optimization for blockchain-enabled IoT.We consider one of the recent promising blockchains,Prism,as the underlying blockchain system because of its good performance guarantees.We integrate the IoT data into Prism blockchain and optimize the performance of the system by leveraging the Proximal Policy Optimization(PPO)method.The DRL method helps to optimize the blockchain parameters like mining rate and mined blocks to adapt to the environment dynamics of the IoT system.Our results show that the proposed method can improve the throughput of Prism blockchain-based IoT systems while preserving Prism performance guarantees.Our scheme can achieve 1.5 times more system rewards than IoT-integrated Prism.In our experimental setup,the proposed scheme could improve the average throughput of the system by about 6,000 transactions per second compared to Prism.