Commit Graph

1121 Commits (38f5437eda9a9c11c1d2b02df8ab917f3a25dd3b)

Author SHA1 Message Date
Rongjian Lan 10ca5433ac Add tests for prepare and commit message construction 4 years ago
Rongjian Lan 2a45a1d684 correct func comment 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
Leo Chen a551c05ed8 [rpc] expose consensus internal data via rpc 4 years ago
Rongjian Lan 79cf6afd37
revert multi-sig messaging code (#3361) 4 years ago
Rongjian Lan 151286ce04 Fix travis 4 years ago
Rongjian Lan 09ce0bac9d Correct mistakenly committed code 4 years ago
Rongjian Lan 6845775078 Make block proposal async and receiving last commit sig through channel 4 years ago
Jacky Wang 3adab4496c
Revert "[consensus] enable the consensus module can spin up doSync (#3340)" (#3350) 4 years ago
Leo Chen e079fb1473 [viewchange] simplify vc message initialization 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 7dcdbe7d2b fix golint 4 years ago
Leo Chen 0c04a2b574 [consensus] rename SetViewID to SetViewIDs 4 years ago
Leo Chen 54912716ce [validation] move newview validation to p2p layer 4 years ago
Leo Chen 42923336c9 [viewchange] encapsulate both viewID and viewChangeID 4 years ago
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