Commit Graph

141 Commits (46bbe894089ca1965bed291a3b5bcb26d33909a5)

Author SHA1 Message Date
Rongjian Lan 8d72c537f1 avoid race condition 4 years ago
Rongjian Lan a1022e92d8 add todo 4 years ago
Rongjian Lan 61edc85a90 fix block hash in new view 4 years ago
Rongjian Lan c270381a9f Update viewchangingid; don't reset state in new view 4 years ago
Leo Chen fde9849eb6 [viewchange] stop sending view change msg 4 years ago
Leo Chen 205c77b7da [viewchange] should not startNewView is not in viewChange mode 4 years ago
Leo Chen 08cb490163 [viewchange] use IsLastBLockInEpoch to determine new epoch 4 years ago
Leo Chen 517fdabe5c [viewchange] remove viewID param in startViewChange func 4 years ago
Leo Chen e8a8b6f543 [viewchange] only rotate leader among harmony nodes 4 years ago
Leo Chen 689a86f889 [viewchange] handle view change in first block of an epoch 4 years ago
Leo Chen e0dcb97c29 [viewchange] remove unnecessary check of view id diff 4 years ago
Leo Chen 234f202656 [viewchange] time-based synchronuous view change 4 years ago
Rongjian Lan 1851d7eea5 add HasSingleSender func 4 years ago
Leo Chen 1fbe2bf54e [viewchange] protect additional consensus state change using mutext 4 years ago
Leo Chen 793529ee24 [viewchange] rename stopViewChange to startNewView 4 years ago
Leo Chen bdd717edfb [viewchange] protect consensus structure using mutex 4 years ago
Leo Chen 3784d6a564 [viewchange] simplify onNewView function 4 years ago
Leo Chen f8e2fd7120 [viewchange] lock to process view change 4 years ago
Leo Chen b6deec9a5a [viewchange] add RLock for m1Payload functions 4 years ago
Leo Chen 92130a2ba3 [viewchange] retry sending view change messages 4 years ago
Rongjian Lan b6171945cf Fix refactor; add test for AggregateVotes 4 years ago
Leo Chen 3bd65c850b [viewchange] validate payload of m1 message 4 years ago
Leo Chen 1c0e872b6e [viewchange] init bitmap before init payload 4 years ago
Leo Chen 75fb354ee7 [viewchange] rename VerifyViewChange to ProcessViewChange 4 years ago
Leo Chen 0871866848 [misc] fixed comment of onNewView 4 years ago
Leo Chen 7620fce074 [viewchange] fix InitPayload func 4 years ago
Leo Chen 5ba139fded [log] use info level for viewchange log 4 years ago
Leo Chen df9d54443d [viewchange] rename NextAfter to NthNext 4 years ago
Leo Chen 60f7237c65 [misc] add one comment 4 years ago
Leo Chen 55f6c29045 [viewchange] restore old next leader logic 4 years ago
Leo Chen 85f782f783 [viewchange] avoid reentrant of newview message 4 years ago
Leo Chen 5d4cdbdd06 [core] simplify switchPhase as it is always called in override mode 4 years ago
Leo Chen 0ad38d2a1c make viewchange variable private 4 years ago
Leo Chen a229177945 [viewchange] rename view change files 4 years ago
Rongjian Lan 10ca5433ac Add tests for prepare and commit message construction 4 years ago
Rongjian Lan eb837336a8 Refactor multi-sig logic for validator; Add slashing sanity check 4 years ago
Rongjian Lan dc24b3ad52 Basic multi-sig logic 4 years ago
Leo Chen aba83d4681 Revert "[viewchange] fix getNextLeader" 4 years ago
Leo Chen db82575018 [viewchange] rename curViewID variable to blockViewID 4 years ago
Leo Chen b76ac39d48 [viewchange] rename GetCurViewID to GetCurBlockViewID 4 years ago
Leo Chen 3693196926 [viewchange] rename SetCurViewID to SetCurBlockViewID 4 years ago
Leo Chen f5bd6a3490 [viewchange] fixed wrong viewID function calls 4 years ago
Leo Chen 9dc8f43288 [viewchange] fix getNextLeader 4 years ago
Rongjian Lan 79cf6afd37
revert multi-sig messaging code (#3361) 4 years ago
Leo Chen 5e556b812d [misc] move SenderPubkeys check to sanity check func 4 years ago
Leo Chen 79d43c2ce8 fix test cases 4 years ago
Leo Chen 42923336c9 [viewchange] encapsulate both viewID and viewChangeID 4 years ago
Rongjian Lan f42338c30b
Add back multi-sig support and fix the multi-sig check for harmony nodes (#3337) 4 years ago
Rongjian Lan a5fa880ae3
Revert "Add multi-sig merged messaging logic (#3300)" (#3326) 4 years ago
Rongjian Lan ecf151592e
Add multi-sig merged messaging logic (#3300) 4 years ago