Commit Graph

410 Commits (bf2d8ee16be19195d1af336722b38237e299f823)

Author SHA1 Message Date
Chao Ma 26efc233d7 m1 type message view change path works 6 years ago
chao 5e3d4c110d fix newview message payload crash; defense different sets of prepared messages attack 6 years ago
Leo Chen 2b5fa476bb [consensus] increase timeout for consensus to bootstrap 6 years ago
Rongjian Lan acf32bd3ca Remove use of sha3-256 6 years ago
chao d920c7b89c in view change mode,node accepts normal message and change state at committed message; 6 years ago
chao 3816f48892 fix timeout duration bug 6 years ago
Eugene Kim 71b455c79e Once commit quorum is met, wait 2s for more sigs 6 years ago
Eugene Kim b440acbfe4 Add consensus.Consensus.round variable 6 years ago
Eugene Kim 0eeeacbcb3 Factor commit finalization into its own function 6 years ago
Eugene Kim d0afddf328 Factor 2f+1 calculation out as consensus.Quorum() 6 years ago
chao d9993caf70 reduce number of timeouts; make timeout more stable 6 years ago
Eugene Kim f5d1ddcce1 Disable view change optionally 6 years ago
Chao Ma edc5e66bec fix aggregated signature and bitmap payload index out of range error; put repeated code into function 6 years ago
Chao Ma b57920121b add leaderkey info after node sync 6 years ago
chao 9d734c0013 fix new node join timeout to start view change 6 years ago
chao 5fef81ca2c disable view change for testnet only 6 years ago
chao 00d002caa6 fix node syncing integration 6 years ago
Eugene Kim fde24f7bc0 Remove unused import to unbreak goimports 6 years ago
Eugene Kim cd7d5056f6 Disable DRand processing 6 years ago
Eugene Kim f1fb9291ff Fix confusing naming 6 years ago
chao 7cd24dae6c modify the naming of variables to make code cleaner 6 years ago
chao 69cfe9b633 * add view changing logic 6 years ago
chao 2ba6d2018b * cleanup consensus codes 6 years ago
Eugene Kim 04ba5a3adf Retrieve parent block by hash, not by number 6 years ago
Eugene Kim 497bba1f77 Fix goimports 6 years ago
Eugene Kim d43820a797 Fix test compile errors after lint 6 years ago
Eugene Kim 2202782ab8 Add long-term feedback as TODOs 6 years ago
Eugene Kim 7445699909 More fixes/improvements 6 years ago
Eugene Kim 664c6c1513 A cumulative collection of fixes/improvements: 6 years ago
Eugene Kim cca34560b0 Reorg imports into stdlib–external–internal format 6 years ago
Eugene Kim 65df03bc9d Add Epoch to block header 6 years ago
Eugene Kim d0d130bc4b Make BlockVerifier return an error on failure 6 years ago
Eugene Kim bca1e3522f Verify proposed block contents 6 years ago
Eugene Kim c04b94858d Add ShardState 6 years ago
Eugene Kim 3f74e9fc91 Fix UT – the canonical RLP encoding does change 6 years ago
Eugene Kim b245557d08 Split blockBytes into annotated fields 6 years ago
Minh Doan ba9493859b use single source of truth instead having is_leader truth in 2 objects 6 years ago
chaosma b53d8fb5bf
pbft normal path (#851) 6 years ago
chaosma e029b7e622
basic framework for view change (#827) 6 years ago
Eugene Kim 485127cfba
Change block reward 0.001 → 0.1 HRX/sig 6 years ago
Eugene Kim 0364fa422b Log who earns how much for signing what block 6 years ago
Eugene Kim 2647b3101d Reward foundational nodes for signing blocks 6 years ago
Eugene Kim 9796df0dd9 Add a simple StakeInfo finder covering genesis nodes 6 years ago
Eugene Kim 1bd5a8d606 Teach consensus about stake info finder 6 years ago
chao 994aba8b07 add minimum pbft view change structure 6 years ago
chao f9071da236 factor consensus functions into consensus_utils, make consensus.go cleaner 6 years ago
Rongjian Lan c20cd8a8d4 resharding on new nodes 6 years ago
Leo Chen cd8f1cea8e [cleanup] remove offline peer handler 6 years ago
Leo Chen 9a785f9638 [consensus] add set consensus ID function 6 years ago
Leo Chen d31ee7d366 [cleanup] remove peers variable from consensus New function 6 years ago