Commit Graph

1307 Commits (631d384609cc3eb8bb9de65bf8226c797f7a90f4)

Author SHA1 Message Date
Leo Chen 61638240a2 [panic] fix nil pointer crash during view change 4 years ago
Leo Chen 48e25b2969 [testnet] re-enable 40% external voting power 4 years ago
Leo Chen db453f28d7 [viewchange] protect view change struct during reset 4 years ago
Leo Chen 52dbcf1d11 [panic] fix a panic in view change 4 years ago
Leo Chen 6f1e741be6 [log] move voter info to debug 4 years ago
Jacky Wang 3d6858aba5
[P2P] Added functionality to Host for stream, replaced networkInfo service. (#3534) 4 years ago
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