Commit Graph

1041 Commits (fe20992664c4c0a263089207571b413d9ca82450)

Author SHA1 Message Date
Jacky Wang f00c90e3e6
Graceful shutdown - All registered services are shutdown gracefully. (#3533) 4 years ago
Jacky Wang 6833b446fe
[consensus] fix the rare consensus/sync race condition (#3539) 4 years ago
Rongjian Lan 0a717a858f
make sig verification in the same thread (#3537) 4 years ago
Rongjian Lan 6ee2e5d143
add lastcommit sig verification in leader (#3536) 4 years ago
Rongjian Lan 0815a987ad give testnet internal node enough voting power until epoch 74330 4 years ago
Rongjian Lan 0c6dd80862
do not enforce voting power sum to 1 in testnet stuck epochs (#3525) 4 years ago
Rongjian Lan dea56586eb
make sure consensus always work in testnet (#3522) 4 years ago
Rongjian Lan 5643dff467
Give testnet internal node 70% voting power for stuck epochs (#3521) 4 years ago
Rongjian Lan a9840bb46a
Recover testnet (#3520) 4 years ago
Rongjian Lan df99d72b96
Add more log (#3519) 4 years ago
Leo Chen c1fbc64cef [log] add additional logs in consensus 4 years ago
Leo Chen 8946054f7d [viewchange] always use first participant as base of leader pubkey 4 years ago
Daniel Van Der Maden 94bf414083
Make token supply related fns more accurate (#3509) 4 years ago
Leo Chen 0d666a05a3
[viewchange] protect startViewChange (#3501) 4 years ago
Rongjian Lan 21b162cc67
Fix inconsistent block proposal and verification (#3485) 4 years ago
Rongjian Lan 60e42232a9
Change blocks per epoch for testnet. (#3472) 4 years ago
Rongjian Lan d8e509cbd3
Add 3s block time and change of block reward (#3469) 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 85ea84715f [prometheus] add blskeys metric 4 years ago
Leo Chen d96c7123be [prometheus] fix golint 4 years ago
Leo Chen 47b05a2458 [prometheus] fixed test error 4 years ago
Leo Chen 1b15d5a9d7 [prometheus] move config to prometheus package 4 years ago
Leo Chen e1c528e9ff [prometheus] init pushgateway support 4 years ago
Rongjian Lan 9dba6df985
check lock scope for validator to avoid premature sync check (#3467) 4 years ago
Rongjian Lan d33f47a5fc
use the correct block hash for newview (#3463) 4 years ago
Rongjian Lan 54935817dc not return early 4 years ago
Leo Chen 59847a1fde [prometheus] make metrics variables private 4 years ago
Leo Chen ddc0f7f02f [prometheus] update validator metrics from node module 4 years ago
Leo Chen c28f6c7ca4 [prometheus] add block number gauge 4 years ago
Leo Chen c2d37b3822 [prometheus] add consensus metrics 4 years ago
Leo Chen 22b01a14ab [consensus] move numSignaturesIncludedInBlock func to consensus 4 years ago
Jacky Wang 71179e70ee
[consensus] remove an unnecessary comment 4 years ago
Jacky Wang 3abec6b768
[consensus] move prune block logic to SetupForNewConsensus 4 years ago
Jacky Wang 356ab98c63
[consensus] add remove fbft log after consensus done on leader node. 4 years ago
Leo Chen 4f35ef8dcd [prometheus] remove local log variable for prometheus service 4 years ago
Rongjian Lan 36fd9dcb1e make commit sig timeout longer, also return early for onCommit 4 years ago
Rongjian Lan 2cc6d17a6f leave some time for finalCommit 4 years ago
Rongjian Lan a71d8f48f7 leave some time for finalCommit 4 years ago
Rongjian Lan 8aa57bbca5 be more lenient on grace period 4 years ago
Rongjian Lan 8d878e575d Fix viewID in block proposal 4 years ago
Rongjian Lan 8647f69cac fix log 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 2b5ca833f9 [log] print more log when verification failed 4 years ago
Rongjian Lan 6d837e5cfe add missing lock 4 years ago
Rongjian Lan fa2ab7406b fix thread 4 years ago