The election efficiency due to election conflicts and the security of master nodes have become the research hotspots?of Raft consensus algorithm. Therefore,we propose the SRaft,which is a Raft consensus algorithm that combines the Schnorrkel signature and thecredit value mechanism. Firstly,in the election phase,all nodes in the cluster will conduct random election timeout in different ranges according to their current credit values,which can ensure efficient nodes to complete timeout faster and become master nodes. Secondly,inthe log replication stage,the master node and some?
slave nodes with high credit value jointly generate an aggregated signature on theclient message to conceal the master node information by Schnorrkel signature,and the slave nodes involved in generating the aggregatedsignature can verify the client digital signature in the message to ensure that the message is not tampered by the master node and avoid Byzantine master nodes from changing the logs. Finally,the local multi-nodes simulation experiments show that the SRaft algorithm caneffectively reduce the probability of election conflicts and improve the election efficiency. The theoretical analysis verifies that the SRaftalgorithm can conceal the master node information,which improves the reliability of the algorithm and the stability of the cluster.