| Renewable energy is receiving more and more attention as a form of clean energy utilization.As renewable energy develops,ensuring the security and effectiveness of energy trading has become an important issue.Regional electrical energy trading systems are based on renewable energy production and consumption,organized by local generation sources and energy storage institutions.Such systems can reduce energy consumption and carbon emissions through distributed energy production and consumption,and improve autonomous energy utilization in the region.Blockchain technology,a decentralized,tamper-evident,and transparent distributed ledger technology,can be used in regional electrical energy trading systems to address the security and efficiency of energy trading.In this thesis,we propose a parallel-verified IBFT(Istanbul Byzantine Fault Tolerance)consensus algorithm based on the IBFT consensus algorithm.We also design and implement an energy blockchain system to address various issues,such as low energy transaction throughput,high latency,and unreliable consensus results caused by inefficient and insecure blockchain consensus in energy transaction systems.The main contributions and research results of this thesis are as follows:(1)In the parallel-verified IBFT consensus algorithm,the tasks of proposer identity verification,proposal validity verification,and block verification are processed in parallel by optimizing the verification process.Furthermore,to improve consensus efficiency,the performance is optimized by reducing the timeout time between each stage.In this thesis,we test and compare the performance of the parallel-verified IBFT consensus,Raft consensus algorithm,and IBFT consensus algorithm through simulation experiments.The experimental results show that the parallel-verified consensus method proposed in this thesis has better latency and transaction throughput performance compared to the Raft consensus algorithm and IBFT consensus algorithm.(2)This thesis analyzes the security requirements of energy trading systems,discusses potential challenges and countermeasures in the actual environment of energy trading,compares and analyzes the performance of the parallel-verified consensus algorithms and Raft consensus algorithms in terms of security,privacy,and fault tolerance.A model of energy trading systems based on the parallel-verified IBFT consensus algorithms is constructed.(3)This thesis provides a detailed description of the design and implementation of an energy trading system,which is based on the parallel-verified IBFT consensus algorithm.The system includes key modules such as user interaction,client-API and consensus algorithm-message processing.The system has undergone modular testing to verify the effectiveness of its performance.The parallel-verified IBFT consensus algorithm proposed in this thesis performs excellently in improving consensus execution efficiency and throughput.Through multiple studies,the superiority and practical value of the consensus algorithm in energy trading systems have been demonstrated,providing strong support for the optimization and development of future energy trading systems. |