Research on the Construction of Identity Consensus Mechanism Based on RAFT Algorithm in Block Chain Environment
Network communication requires a large number of intermediate nodes to relay,and it is highly likely that the origi-nal communication information will be tampered with due to attacks on intermediate nodes.Block chain organizations have a topology resembling in network communication,which can package information into a block chain organization and securely store it in a chain-like structure to prevent information from being tampered with.Based on this application scenario,research is conducted on the construction method of identity consensus mechanism based on RAFT algorithm in the block chain environment.Improve block chain smart contracts,collaborate with RAFT leader election conditions,set election index rules,and complete block chain based on RAFT consensus optimization.Introduce candidate roles and implement partitioning processing for follower node subgroups to en-sure that PreC RPC messages are added to the block chain organization,achieving the construction of identity consensus mecha-nism.Using a docker container to simulate nodes and test the security performance of the above consensus mechanism,compared with other methods,this method reduces the consensus weight of malicious nodes,allowing the docker container to accommodate more malicious nodes,improving the robustness of communication networks,and requiring less information resources,with stronger data processing capabilities.