Commit Graph

803 Commits (e5199939f5e47e9812a17b70ba92e3711558e6b4)

Author SHA1 Message Date
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
Daniel Van Der Maden 451d16c14d
Add viewID to block signed content (#2877) 5 years ago
Rongjian Lan 3808f5317b
Make commit sig committed along with the block (#2875) 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 2afd8a54c4
[p2p] Throttle receive with constant cost function (#2819) 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
Rongjian Lan e9e1a37cc7
Remove elected validator list and make sure validator list addrs are unique (#2806) 5 years ago
Rongjian Lan f8922a957f
Try all messages on committed msg (#2804) 5 years ago
Ganesha Upadhyaya 4524e1b7ba
[node] move self address to node, make it updatable every epoch (#2799) 5 years ago
Jong Hyuck Won a37074c7d3
Updating all sources of block.Transactions and do the corresponding work for block staking txns (#2655) 5 years ago
Edgar Aroutiounian 2836f0f620
[project] Remove over complicated packages, useless tests, dead functions (#2780) 5 years ago