Commit Graph

167 Commits (2a930b28a8d0a3739717d1e39d23f28a0147aa77)

Author SHA1 Message Date
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 5 years ago
Rongjian Lan 8057b05592 Fix multi-key related issues when keys are not in committee (#3132) 5 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
Ganesha Upadhyaya 054c3cbb8e
[consensus][viewchange] fix total power of signers in IsQuorumAchieved for view change (#2758) 5 years ago
Ganesha Upadhyaya 1e03507f92 fixing minor things in view change 5 years ago
Ganesha Upadhyaya 4c40ad3eb1
adding checks to prevent malicious leader behaviors (#2418) 5 years ago
Rongjian Lan 84ffbcfb7a
[audit] Various fixes and todos for auditing; add log for collect rewards (#2448) 5 years ago
Edgar Aroutiounian 2baab4864c
[staking][validation][protocol] (#2396) 5 years ago
Ganesha Upadhyaya ae362c24c6
multi-bls key support (#2249) 5 years ago