Commit Graph

174 Commits (54ca0e8fb889102304264e25be2e69318e5bafb8)

Author SHA1 Message Date
PeekPI 914d7da0b6
Testnet reset (#4207) 2 years ago
Konstantin 06de7dcd6c
Fix race errors. (#4184) 2 years ago
PeekPI 20edef740b
Increase voting power of harmony nodes in testnet to 0.7 (#4200) 2 years ago
PeekPI 8b1d7a526a
[consensus] HIP-18: Allowlist for external leaders (#4146) 3 years ago
Paul M Fox 0a0f3aaea2 Add defer statement to mutex critical code 3 years ago
Leo Chen ede0aba0e8
[log] set log to debug on vc message 3 years ago
Lutty faacc7c091 rebase code 3 years ago
Rongjian Lan 5386978b0c Add vrf verification in block verification logic 4 years ago
Leo Chen 61638240a2 [panic] fix nil pointer crash during view change 4 years ago
Leo Chen 8946054f7d [viewchange] always use first participant as base of leader pubkey 4 years ago
Leo Chen 0d666a05a3
[viewchange] protect startViewChange (#3501) 4 years ago
Leo Chen 4a0553fb84 [viewchange] use consensus mutex, remove vc lock 4 years ago
Rongjian Lan aa643ca856
Add out of order message processing logic (#3468) 4 years ago
Leo Chen 59847a1fde [prometheus] make metrics variables private 4 years ago
Leo Chen c2d37b3822 [prometheus] add consensus metrics 4 years ago
Rongjian Lan 8821807946 Fixes viewID and view change ID base 4 years ago
Leo Chen 6675aee29a [viewchange] shorten the viewchange timeout to 27s 4 years ago
Leo Chen 1f9a2709b8 [viewchange] fixed gap calculation 4 years ago
Leo Chen e891ca68dc [viewchange] update view ID slower than view change timeout 4 years ago
Leo Chen 1e4b55a7cc [viewchange] check quorum by mask 4 years ago
Leo Chen 0f02ec9bf1 [viewchange] use last known viewID from blockchain 4 years ago
Leo Chen 3b3ea98904 [log] print out view change messages 4 years ago
Rongjian Lan f91d781fe4 add Delayed sending 4 years ago
Rongjian Lan 8db8802eed send committed at 67% 4 years ago
Rongjian Lan 4aef0f4132 do not sent committed at 67% 4 years ago
Rongjian Lan fea096b0f9 Fix view id calc 4 years ago
Rongjian Lan 4d18b7feec
Revert "Fix view change stuck issue" 4 years ago
Rongjian Lan 38fe2a4422 fix comment 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 ee3dd70676 merge 4 years ago
Rongjian Lan 8d72c537f1 avoid race condition 4 years ago
Rongjian Lan a1022e92d8 add todo 4 years ago
Rongjian Lan 61edc85a90 fix block hash in new view 4 years ago
Rongjian Lan c270381a9f Update viewchangingid; don't reset state in new view 4 years ago
Leo Chen fde9849eb6 [viewchange] stop sending view change msg 4 years ago
Leo Chen 205c77b7da [viewchange] should not startNewView is not in viewChange mode 4 years ago
Rongjian Lan 611448a0a1 pipelining wireframe 4 years ago
Leo Chen 08cb490163 [viewchange] use IsLastBLockInEpoch to determine new epoch 4 years ago
Leo Chen 517fdabe5c [viewchange] remove viewID param in startViewChange func 4 years ago
Leo Chen e8a8b6f543 [viewchange] only rotate leader among harmony nodes 4 years ago
Leo Chen 689a86f889 [viewchange] handle view change in first block of an epoch 4 years ago
Leo Chen e0dcb97c29 [viewchange] remove unnecessary check of view id diff 4 years ago
Leo Chen 234f202656 [viewchange] time-based synchronuous view change 4 years ago
Rongjian Lan 1851d7eea5 add HasSingleSender func 4 years ago
Leo Chen 1fbe2bf54e [viewchange] protect additional consensus state change using mutext 4 years ago
Leo Chen 793529ee24 [viewchange] rename stopViewChange to startNewView 4 years ago
Leo Chen bdd717edfb [viewchange] protect consensus structure using mutex 4 years ago
Leo Chen 3784d6a564 [viewchange] simplify onNewView function 4 years ago