Commit Graph

1053 Commits (e0571929ed44c3ce2286215557af398079817f9c)

Author SHA1 Message Date
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
Leo Chen a551c05ed8 [rpc] expose consensus internal data via rpc 4 years ago
Rongjian Lan 79cf6afd37
revert multi-sig messaging code (#3361) 4 years ago
Rongjian Lan 151286ce04 Fix travis 4 years ago
Rongjian Lan 09ce0bac9d Correct mistakenly committed code 4 years ago
Rongjian Lan 6845775078 Make block proposal async and receiving last commit sig through channel 4 years ago
Jacky Wang 3adab4496c
Revert "[consensus] enable the consensus module can spin up doSync (#3340)" (#3350) 4 years ago
Leo Chen e079fb1473 [viewchange] simplify vc message initialization 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 7dcdbe7d2b fix golint 4 years ago
Leo Chen 0c04a2b574 [consensus] rename SetViewID to SetViewIDs 4 years ago