Commit Graph

6110 Commits (b560f88978af6f9289e8c303fa46d9b109386d84)
 

Author SHA1 Message Date
Leo Chen b560f88978 [libp2p/consensus] p2p spamming defense 4 years ago
Leo Chen 27fe3e34aa [rpc] add node peer id in node metadata 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
Leo Chen af38bc655d
Merge pull request #3205 from SebastianJ/coverage-consensus 4 years ago
Sebastian Johnsson 435a4f60cb Update consensus_test to account for bls key changes 4 years ago
Sebastian Johnsson 3ee054c522 Merge branch 'main' into coverage-consensus 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
Sebastian Johnsson 69c0436831 Merge branch 'main' into coverage-consensus 4 years ago
Rongjian Lan 4dd9757f08 Add nil check on leader checks 4 years ago
Rongjian Lan c89b7f0efa
Fix slice append in multikey func (#3206) 4 years ago
Sebastian Johnsson 38c73659dc Merge branch coverage-consensus 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 e5199939f5 Rename p2p testing package to comply with Travis CI 4 years ago
Sebastian Johnsson 098bd5c235 [coverage] [p2p] Improve p2p code coverage from 0% to 78.3% 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
Sebastian Johnsson 5493cc73a7 Rename p2p testing package to comply with Travis CI 4 years ago
Rongjian Lan 67d77c3965
Refactor bls public key into a wrapper (#3203) 4 years ago
Sebastian Johnsson ca4a4046e6 [coverage] [p2p] Improve p2p code coverage from 0% to 78.3% 4 years ago
Leo Chen 0d3101bcd3 [node] replace node.State with node.IsInSync atomic bool 4 years ago
Leo Chen 7acb67f05e [log] remove cost log for each consensus message 4 years ago
Leo Chen 3b1db0a2f7 [go.mod] use abool v1.0.1 release 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 c659001827
Do not reinit the explorer db every restart (#3199) 4 years ago
Ganesha Upadhyaya 1be1ddf0b5 [rpc] change default transaction limit to 1000 4 years ago
Rongjian Lan 9395d5a46b Postpone second batch of slot increase 4 years ago
Janet Liang 15f1031b38
[RPC] Fixes for issues found during documentation (#3185) 4 years ago
Rongjian Lan 9133df5184
Merge pull request #3188 from rlan35/main 5 years ago
Rongjian Lan 3c8cb849af use normal map for key index 5 years ago
Rongjian Lan d48dd8e504
Merge pull request #3186 from rlan35/main 5 years ago
Rongjian Lan b403baa35c Add cache to validator membership check 5 years ago
Leo Chen ef5ca8aa4c [libp2p] increase semaphore number 5 years ago
Rongjian Lan 71e9abdcbf Avoid validator sending msgs if the key is not in committee 5 years ago
Leo Chen 525a618b81 [libp2p] do not advertise on beacon client 5 years ago
Leo Chen e028cc78bc [bootstrap] fix bootstrap on localnet failed issue 5 years ago
Leo Chen 6b435a8dea [quorum] return earlier idx if found in IndexOf 5 years ago
Leo Chen c1f6051da6 [bls] cache BLSPubKey deserialization with LRU 5 years ago
songgeng87 f84d51a47e clean-up a old comment "// legacy behavior is to never return error and always return tx hash" 5 years ago
songgeng87 8c2bd6db56 if block ends with a return statement, so drop this else and outdent its block 5 years ago
songgeng87 69f3ae3e29 fmt error 5 years ago