Commit Graph

899 Commits (864ccb0d61e72029542b906a1b3200b472815952)

Author SHA1 Message Date
Jacky Wang 7801a1d678
[consensus][sync] Better coordination between state sync and consensus module. (#3352) 4 years ago
Leo Chen 1fbe2bf54e [viewchange] protect additional consensus state change using mutext 4 years ago
Leo Chen fd84f847e0 [viewchange] handle conseneus message construct errors 4 years ago
Leo Chen 67a167eb3a [viewchange] filter out viewchange message in p2p validation 4 years ago
Leo Chen 793529ee24 [viewchange] rename stopViewChange to startNewView 4 years ago
Rongjian Lan 08c75bb66d fix comments 4 years ago
Rongjian Lan afdd74c1fb fix comments 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 37f6a38b99 [consensus] add sendCommitMessages function 4 years ago
Leo Chen f8e2fd7120 [viewchange] lock to process view change 4 years ago
Leo Chen 537ec78636 [viewchange] simplify GetPreparedBlock function 4 years ago
Leo Chen 72735d3a37 [viewchange] be consistent when construct NewView message 4 years ago
Leo Chen b6deec9a5a [viewchange] add RLock for m1Payload functions 4 years ago
Leo Chen cadec98dd9 [viewchange] ignore viewchange/newview messages if not in viewchanging mode 4 years ago
Leo Chen 92130a2ba3 [viewchange] retry sending view change messages 4 years ago
Rongjian Lan a4d8e7d949 update aggregate sig epoch 4 years ago
Rongjian Lan b6171945cf Fix refactor; add test for AggregateVotes 4 years ago
Rongjian Lan 0141604162 Add multikey dedup and test cases 4 years ago
Rongjian Lan b13c96bc1e Add more unit tests for vote submission 4 years ago
Leo Chen 8b7a640cdf [viewchange] remove unused function 4 years ago
Leo Chen 3bad6006a1 [viewchange] newview message reprocessing 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 669302ea2e [viewchange] config viewchange timeout to 45s 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 5d7693d318 fix travis checker 4 years ago
Leo Chen f9018be0ca protect IsM1PayloadEmpty with a lock 4 years ago
Leo Chen 0ad38d2a1c make viewchange variable private 4 years ago
Leo Chen 45cc4d24a0 make view change struct private 4 years ago
Leo Chen 096614eab1 address review comments 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 2a45a1d684 correct func comment 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