| Blockchain technology plays an important role in e-government.E-government refers to the way the government uses electronic information technology to provide public services,manage public affairs and achieve governance.As a distributed database technology,blockchain can provide features such as decentralization,traceability,and non-tampering,providing a new solution for e-government.Blockchain can be used to securely store and share government information.Government information usually contains a large amount of sensitive information,such as personally identifiable information,financial information,etc.,which need to ensure security and privacy.Blockchain technology can provide features such as decentralization and non-tampering to ensure the safe storage and sharing of government information,thereby promoting the digitization,intelligence and innovative development of government work.The specific research content is as follows:(1)The PBFT algorithm is a consensus protocol that handles faulty nodes in a Byzantine fault-tolerant system.Due to the shortcomings of the PBFT consensus algorithm in the field of e-government affairs,the limitations and defects of the PBFT algorithm are first discussed.Nodes cannot be arbitrarily Joining or exiting,malicious nodes cannot be effectively detected and eliminated,and the algorithm cannot run well in large-scale scenarios.Aiming at these problems,the basic process and strategy of EG-BFT algorithm is proposed,and it is applied to the e-government scenario by adding credit model and improving the consensus switching protocol.Through experiments,the comparison and analysis of the algorithm before and after the improvement proves that the EG-BFT algorithm has better performance and reliability in the field of e-government affairs,and can meet the needs of efficient consensus algorithms in the field of e-government affairs.(2)A consensus algorithm named REG-BFT is proposed.By integrating the RAFT consensus algorithm,the algorithm aims to improve the throughput,delay and security of the overall algorithm,while reducing communication complexity.On the basis of the original algorithm,supervisory nodes are added to ensure the reliability of representative nodes,and the number of consensus nodes is greatly reduced in the global consensus stage.Through experimental comparison and analysis,compared with EG-BFT algorithm,REG-BFT algorithm has significantly improved throughput,delay and security,and the communication complexity has also been reduced.These optimization measures further improve the application value and actual effect of the algorithm in the field of e-government.(3)At the application level,a blockchain technology solution for citizen points is built using blockchain smart contract technology,aiming to take advantage of the decentralization,de-trust and data tamper-proof characteristics of blockchain technology,Establish a safe and credible new citizen point mechanism to improve the transparency of points increase and decrease,enhance the credibility of government agencies and the cohesion of citizens.Functional development has been carried out on the issuance,traceability,transfer,dispute and revocation of points in the contract.Through the analysis of the experimental results on the Ethereum platform,it can be seen that the scheme has significantly improved the security and reliability of the citizen points mechanism,and at the same time improved the citizens’ trust and recognition of government agencies.This research provides a new ideas and practices for using blockchain technology to solve practical problems,and has certain guiding significance for the application in the field of government and social governance. |