The invention relates to the technical field of block chains, and discloses an alliance chain
consensus system and method based on a Byzantine fault-tolerant C-Raft
algorithm, and the
system comprises a reputation-represented committee upgrading and degrading module, a Byzantine fault-tolerant C-Raft log
copying module, a reputation-represented committee upgrading and degrading module, a Byzantine fault-tolerant C-Raft log
copying module, a Byzantine fault-tolerant C-Raft log
copying module and a Byzantine fault-tolerant C-Raft log copying module. And the C-Raft log copying module is used for constructing a unified reputation subsystem among multiple subjects, comprehensively calculating activity, a
consensus completion rate, a historical contribution degree and a periodic contribution degree as reputation scores, then constructing a committee according to the reputation scores, avoiding vote counterfeiting by combining a
digital signature technology, and performing
Byzantine fault tolerance, and is used for copying logs of the
consensus system. According to the method, malicious nodes can be effectively prevented from being selected as cluster leaders in a mode of counterfeiting votes, stable and reliable participants are selected into committees by constructing multi-weight reputation values, the probability of errors in the log copying process is reduced, and the stability and safety of clusters are improved.