Commit Graph

227 Commits (b9af100719c85b27842c2cf8691798de487ab460)

Author SHA1 Message Date
Rongjian Lan 4d18b7feec
Revert "Fix view change stuck issue" 4 years ago
Rongjian Lan 3ba4620431 clean up code 4 years ago
Rongjian Lan 6a72ca14ad make block sync trigger less frequent 4 years ago
Rongjian Lan ff9a85ac48 Fix view change stuck issue 4 years ago
Rongjian Lan 49d7985f14 some more logic cleanup 4 years ago
Rongjian Lan 9d95b9844d rename ChainReader to Blockchain 4 years ago
Rongjian Lan 8906679ad7 stabalize consensus process with pipelining 4 years ago
Rongjian Lan 8d72c537f1 avoid race condition 4 years ago
Rongjian Lan 611448a0a1 pipelining wireframe 4 years ago
Leo Chen 1001ac573d [viewchange] remove duplicated unlock 4 years ago
Leo Chen 45a7823ede [debug] print out members 4 years ago
Leo Chen 1043207689 [consensus] print log when participants is empty 4 years ago
Rongjian Lan df88b601d2 update testnet epoch for agg sig 4 years ago
Rongjian Lan 1851d7eea5 add HasSingleSender func 4 years ago
Daniel Van Der Maden b088d6dc77
Rosetta Implementation Cleanup (Stage 3 of Node API Overhaul) (#3390) 4 years ago
Leo Chen f8e2fd7120 [viewchange] lock to process view change 4 years ago
Rongjian Lan a4d8e7d949 update aggregate sig epoch 4 years ago
Leo Chen 5d4cdbdd06 [core] simplify switchPhase as it is always called in override mode 4 years ago
Leo Chen a229177945 [viewchange] rename view change files 4 years ago
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 dc24b3ad52 Basic multi-sig logic 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 a551c05ed8 [rpc] expose consensus internal data via rpc 4 years ago
Rongjian Lan 79cf6afd37
revert multi-sig messaging code (#3361) 4 years ago
Leo Chen 0c04a2b574 [consensus] rename SetViewID to SetViewIDs 4 years ago
Leo Chen 42923336c9 [viewchange] encapsulate both viewID and viewChangeID 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 16c1b06269 fix 5 second duration fork 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 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
Rongjian Lan dbb0ed2f53
Bind public keys into private key wrapper (#3208) 4 years ago
Rongjian Lan 4dd9757f08 Add nil check on leader checks 4 years ago
Rongjian Lan 67d77c3965
Refactor bls public key into a wrapper (#3203) 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 b403baa35c Add cache to validator membership check 5 years ago
Leo Chen fec81d1998 [consensus] use atomic operation when set blocknum 5 years ago