Commit Graph

212 Commits (7affda48a1179e76cde1e64e949e227326b2b5db)

Author SHA1 Message Date
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 4 years ago
Leo Chen fec81d1998 [consensus] use atomic operation when set blocknum 4 years ago
Leo Chen 836e1a5326 [consensus] clean up unused code 5 years ago
Leo Chen 5c1cc8232c
Merge master to t3 0523 (#3085) 5 years ago
Rongjian Lan 819500aa70 cherrypick log level change 5 years ago
Rongjian Lan e85c1f3064
Fix log levels (#3058) 5 years ago
Jacky Wang 9f6e09dce9
Code formatting fix based on `staticcheck` (#3023) 5 years ago
Rongjian Lan 3a32fedb1d
Fix commit payload (#2986) 5 years ago
Rongjian Lan 211ed79888
Avoid duplicate bls as harmony nodes; Fix epoch gap issue (#2964) 5 years ago
Ganesha Upadhyaya 78eee0962d
don't sign the block that is not verified (#2929) 5 years ago
Edgar Aroutiounian 82b71619d2
[node] Redundant field removed - dead files & scripts , update deprecated libp2p package names, fold p2p code (#2817) 5 years ago
Edgar Aroutiounian 2836f0f620
[project] Remove over complicated packages, useless tests, dead functions (#2780) 5 years ago
Edgar Aroutiounian 45135b21d6
[project] Remove unused internal memprofiling, profiling, metrics service (#2679) 5 years ago
Edgar Aroutiounian f8cbd880bb
[project] Bls -> BLS & remove dead Stake solidity contract (#2652) 5 years ago
Ganesha Upadhyaya bc75a4687f adding log to print out the current view id 5 years ago
Edgar Aroutiounian 2962d3ea4a
[consensus] Remove now unnecessary log (#2537) 5 years ago
Rongjian Lan 22de132fd1
Add shard config for harmony/external voting power (#2517) 5 years ago