Research on the Raft improved algorithm for anti-Byzantine nodes

ObjectivesIn order to solve the problem of malicious election and log tampering caused by Byzantine nodes in original Raft algorithm, an AntiB-Raft (Anti-Byzantine Raft) algorithm was proposed to resist Byzantine nodes.MethodsWhen the candidate requested to replace the Leader, the heartbeat monitoring threshold mechanism was used to determine whether the candidate can successfully obtain enough votes to become the new Leader, which was agreed that only when more than half of the nodes detected that the current Leader was really down, the candidate can obtain more than half of the votes and become the new Leader, so as to prevent the Byzantine node from maliciously pulling votes when current Leader was not down, which would result in the replacement of the normal Leader. In the log verification phase, iterative hashing algorithm was used to encrypt the logs and appropriate verification time was selected for log verification. It was agreed that log verification was performed once every K transactions or Leader changed to ensure that the synchronized logs were correct. During log verification, if the log verification failed, the binary rollback method was used to locate the faulty log position quickly and retransmit it, which greatly improved the work efficiency.ResultsTo simulate the 100-node election process, the normal Leader was replaced in Raft algorithm because the candidate obtained more than 50% of the votes, while neither RB-Raft nor the proposed algorithm exceeded 50%, thus avoiding malicious canvassing. On the anti-Byzantine, error logs were not identified in Raft algorithm, while the error log recognition rate of AntiB-Raft algorithm can reach 100%, meanwhile the consensus delay was 28% lower than the existing algorithm RB-Raft.ConclusionsThe proposed algorithm AntiB-Raft had the capability of anti-Byzantine and reduced consensus delay compared with the existing algorithm RB-Raft and its efficiency was improved significantly.

Institutions

Publication Details

Journal
SHILAP Revista de lepidopterología
Published
2025-03-01
DOI
https://doi.org/10.16186/j.cnki.1673-9787.2023060005
Primary Topic
Internet Traffic Analysis and Secure E-voting
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on the Raft improved algorithm for anti-Byzantine nodes

SHILAP Revista de lepidopterología
Internet Traffic Analysis and Secure E-voting
article

Research on the Raft improved algorithm for anti-Byzantine nodes

article en

Abstract

ObjectivesIn order to solve the problem of malicious election and log tampering caused by Byzantine nodes in original Raft algorithm, an AntiB-Raft (Anti-Byzantine Raft) algorithm was proposed to resist Byzantine nodes.MethodsWhen the candidate requested to replace the Leader, the heartbeat monitoring threshold mechanism was used to determine whether the candidate can successfully obtain enough votes to become the new Leader, which was agreed that only when more than half of the nodes detected that the current Leader was really down, the candidate can obtain more than half of the votes and become the new Leader, so as to prevent the Byzantine node from maliciously pulling votes when current Leader was not down, which would result in the replacement of the normal Leader. In the log verification phase, iterative hashing algorithm was used to encrypt the logs and appropriate verification time was selected for log verification. It was agreed that log verification was performed once every K transactions or Leader changed to ensure that the synchronized logs were correct. During log verification, if the log verification failed, the binary rollback method was used to locate the faulty log position quickly and retransmit it, which greatly improved the work efficiency.ResultsTo simulate the 100-node election process, the normal Leader was replaced in Raft algorithm because the candidate obtained more than 50% of the votes, while neither RB-Raft nor the proposed algorithm exceeded 50%, thus avoiding malicious canvassing. On the anti-Byzantine, error logs were not identified in Raft algorithm, while the error log recognition rate of AntiB-Raft algorithm can reach 100%, meanwhile the consensus delay was 28% lower than the existing algorithm RB-Raft.ConclusionsThe proposed algorithm AntiB-Raft had the capability of anti-Byzantine and reduced consensus delay compared with the existing algorithm RB-Raft and its efficiency was improved significantly.

SHILAP Revista de lepidopterología
PLA Information Engineering University (CN), Zhengzhou University (CN), Zhengzhou Business University (CN)
Openalex Percentile: Top 76%
Internet Traffic Analysis and Secure E-voting
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Research on the Raft improved algorithm for anti-Byzantine nodes · SHILAP Revista de lepidopterología (2025) | TGRS Research Map | TGRS