Commit Graph

182 Commits (0901e92bf8cc17085e072dbc90294b46e49dd0f8)

Author SHA1 Message Date
Leo Chen 1f9a2709b8 [viewchange] fixed gap calculation 4 years ago
Leo Chen e891ca68dc [viewchange] update view ID slower than view change timeout 4 years ago
Leo Chen 1e4b55a7cc [viewchange] check quorum by mask 4 years ago
Leo Chen 0f02ec9bf1 [viewchange] use last known viewID from blockchain 4 years ago
Leo Chen 3b3ea98904 [log] print out view change messages 4 years ago
Rongjian Lan f91d781fe4 add Delayed sending 4 years ago
Rongjian Lan 8db8802eed send committed at 67% 4 years ago
Rongjian Lan 4aef0f4132 do not sent committed at 67% 4 years ago
Rongjian Lan fea096b0f9 Fix view id calc 4 years ago
Rongjian Lan 4d18b7feec
Revert "Fix view change stuck issue" 4 years ago
Rongjian Lan 38fe2a4422 fix comment 4 years ago
Rongjian Lan ff9a85ac48 Fix view change stuck issue 4 years ago
Rongjian Lan 49d7985f14 some more logic cleanup 4 years ago
Rongjian Lan 9d95b9844d rename ChainReader to Blockchain 4 years ago
Rongjian Lan ee3dd70676 merge 4 years ago
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
Rongjian Lan 611448a0a1 pipelining wireframe 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