Commit Graph

173 Commits (9df446a23db7fbfab6d20646ba0119fb5743a243)

Author SHA1 Message Date
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
Rongjian Lan 19db99d3f7 Increase time buffer; add db cache; change log level 4 years ago
Rongjian Lan a354b93676
Optimize bls Mask infra to avoid loops (#3243) 4 years ago
Rongjian Lan a168517dfc
Move BLS related wrapper structure into a separate package (#3209) 4 years ago
Rongjian Lan dbb0ed2f53
Bind public keys into private key wrapper (#3208) 4 years ago
Rongjian Lan 67d77c3965
Refactor bls public key into a wrapper (#3203) 4 years ago
Rongjian Lan 68ab784d63
Refactor quorum calculation and signature submission process (#3201) 4 years ago
Rongjian Lan 71e9abdcbf Avoid validator sending msgs if the key is not in committee 4 years ago
Rongjian Lan 8057b05592 Fix multi-key related issues when keys are not in committee (#3132) 4 years ago
Rongjian Lan 2d003b4249
Remove unnecessary block verification (#3111) 5 years ago
Rongjian Lan 32dfea43a5
Make leader commit m1payload itself (#2997) 5 years ago
Rongjian Lan 1dad435291
fix crash on parsed block (#2993) 5 years ago
Rongjian Lan 3a32fedb1d
Fix commit payload (#2986) 5 years ago
Edgar Aroutiounian c2f089f618
[node] Throttle acceptance of incoming messages (#2970) 5 years ago
Rongjian Lan 7c292f64be
Fix viewID issue on prepared block during view change (#2972) 5 years ago
Daniel Van Der Maden 451d16c14d
Add viewID to block signed content (#2877) 5 years ago
Ganesha Upadhyaya d9045590ef
[consensus][view-change] onViewChange set keys and add signatures for all keys in case of multi-key new leader (#2826) 5 years ago
Ganesha Upadhyaya 9d54a638f2
Revert "[consensus][viewchange] fix total power of signers in IsQuorumAchieved for view change" (#2823) 5 years ago
Edgar Aroutiounian 82b71619d2
[node] Redundant field removed - dead files & scripts , update deprecated libp2p package names, fold p2p code (#2817) 5 years ago