Commit Graph

1080 Commits (b2f9b06d04c8d0df95c0a3b5ae627964a588bf3d)

Author SHA1 Message Date
Sebastian Johnsson 435a4f60cb Update consensus_test to account for bls key changes 4 years ago
Rongjian Lan dbb0ed2f53
Bind public keys into private key wrapper (#3208) 4 years ago
Sebastian Johnsson 79b6dc3d9b Add consensus message sender tests 4 years ago
Rongjian Lan 4dd9757f08 Add nil check on leader checks 4 years ago
Sebastian Johnsson 661b43f695 Rebase to main; use new shard.BLSPublicKeyWrapper wrapper 4 years ago
Sebastian Johnsson 6f891c9679 Explicitly set consensus.LeaderPubKey - tests are working locally but somehow fail while running on Travis CI 4 years ago
Sebastian Johnsson 8004330970 Update view change tests 4 years ago
Sebastian Johnsson 41c0b3d06b [coverage] [consensus] Improved coverage for the consensus package 4 years ago
Sebastian Johnsson 680d384eac Explicitly set consensus.LeaderPubKey - tests are working locally but somehow fail while running on Travis CI 4 years ago
Sebastian Johnsson 2658bfc4ea Update view change tests 4 years ago
Sebastian Johnsson 7e5b6fe5e9 [coverage] [consensus] Improved coverage for the consensus package 4 years ago
Rongjian Lan 67d77c3965
Refactor bls public key into a wrapper (#3203) 4 years ago
Leo Chen 7acb67f05e [log] remove cost log for each consensus message 4 years ago
Leo Chen 373bf7f97a [consensus] use a forked abool package with Toggle support 4 years ago
Leo Chen ff0ab475ea [consensus] export IgnoreViewIDCheck 4 years ago
Leo Chen 70884eb346 [consensus] replace infoMutex with atomic bool 4 years ago
Rongjian Lan 68ab784d63
Refactor quorum calculation and signature submission process (#3201) 4 years ago
Rongjian Lan 3c8cb849af use normal map for key index 4 years ago
Rongjian Lan b403baa35c Add cache to validator membership check 4 years ago
Rongjian Lan 71e9abdcbf Avoid validator sending msgs if the key is not in committee 4 years ago
Leo Chen 6b435a8dea [quorum] return earlier idx if found in IndexOf 4 years ago
Leo Chen 447e08a6a8 [log] add sample log of message handle time 4 years ago
Leo Chen fec81d1998 [consensus] use atomic operation when set blocknum 4 years ago
Leo Chen 6212813c75 [consensus] replace isActiveMutex with atomic.Value in messageSender 4 years ago
Leo Chen a11bcd9686 [consensus] replace blockNumMutex with atomic.Value in messageSender 4 years ago
Rongjian Lan 8057b05592 Fix multi-key related issues when keys are not in committee (#3132) 4 years ago
Leo Chen 836e1a5326 [consensus] clean up unused code 5 years ago
Rongjian Lan 2d003b4249
Remove unnecessary block verification (#3111) 5 years ago
Leo Chen 340f109525 [consensus] use size 1 chan for async goroutine comm 5 years ago
Leo Chen 5c1cc8232c
Merge master to t3 0523 (#3085) 5 years ago
Rongjian Lan 819500aa70 cherrypick log level change 5 years ago
Leo Chen 734d9c11d4 Revert "[multi-bls] validator sign and send message in parallel (#3054)" 5 years ago
Rongjian Lan e85c1f3064
Fix log levels (#3058) 5 years ago
Ganesha Upadhyaya 3c6b574b08
[multi-bls] validator sign and send message in parallel (#3054) 5 years ago
Rongjian Lan ea2347fa5e
Cherrypick crosslink related fixes from t3 to master. (#3045) 5 years ago
Rongjian Lan 2538a85f5c add nil check on getHeader 5 years ago
Rongjian Lan eb4fcc93ab
Optimize crosslink verification logic and add more cache (#3032) 5 years ago
Rongjian Lan b8ab786244
add nil check on getHeader (#3030) 5 years ago
Jacky Wang 9f6e09dce9
Code formatting fix based on `staticcheck` (#3023) 5 years ago
Leo Chen 2b25632219 Revert "[node] Throttle acceptance of incoming messages (#2970)" 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
Rongjian Lan 211ed79888
Avoid duplicate bls as harmony nodes; Fix epoch gap issue (#2964) 5 years ago
Ganesha Upadhyaya 78eee0962d
don't sign the block that is not verified (#2929) 5 years ago
Ganesha Upadhyaya 3d0f5c1f34
fix super-committee total-raw-staked bug (#2932) 5 years ago
Rongjian Lan 2ccc20be2b
Fix slash verify to avoid potential duplicate slashes exploit (#2914) 5 years ago
Edgar Aroutiounian d4b8c11a8c
Add raw stake and median to super committee (#2880) 5 years ago