Commit Graph

836 Commits (c2e962a035caf9c9bc2e5ba6f9fc01bcd6e3743b)

Author SHA1 Message Date
Leo Chen c2e962a035 [debug] add debug rpc calls 4 years ago
Jacky Wang f9c26e663b
[consensus] enable the consensus module can spin up doSync (#3340) 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
Jacky Wang 2ddbe5a345
[cmd] change stressnet staking epoch back to 0. Remove block time set to 8 logic. 4 years ago
Jacky Wang 200b0ca9e0
[cmd] changed consensus to option field, removed consensus flags, changed broadcast invalid transaction to option fields 4 years ago
Rongjian Lan c844b78d2d fix uint64 overflow on committed msg out of sync check 4 years ago
Rongjian Lan 19db99d3f7 Increase time buffer; add db cache; change log level 4 years ago
Rongjian Lan 16c1b06269 fix 5 second duration fork 4 years ago
Rongjian Lan a93c4c597d Revert to use simple mutex 4 years ago
Rongjian Lan 43d0696505 Add 5 seconds block time and slot increase epoch 4 years ago
Rongjian Lan a354b93676
Optimize bls Mask infra to avoid loops (#3243) 4 years ago
Rongjian Lan f554fdb5a2
fix view change race issue (#3242) 4 years ago
Rongjian Lan 9c0554ddc9
Use finer grained RWMutex for consensus logic (#3239) 4 years ago
Leo Chen 45b7cf7d88 [consensus] check double sign after commit payload verification 4 years ago
Leo Chen b568d91e47 [consensus] remove duplicated signature verification 4 years ago
Rongjian Lan c3cad1be6b
Fix potential nil pointer (#3220) 4 years ago
Leo Chen 0435e2d203 [consensus] optimize onCommit 4 years ago
Leo Chen b560f88978 [libp2p/consensus] p2p spamming defense 4 years ago
Rongjian Lan bdd2a58e01
Remove expensive bls key serialization code (#3217) 4 years ago
Rongjian Lan 8a08da67ca
Remove unused code and add benchmark for consensus msg check (#3211) 4 years ago
Rongjian Lan a168517dfc
Move BLS related wrapper structure into a separate package (#3209) 4 years ago
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