Commit Graph

360 Commits (96288e7e08309d71a4882daf8601b39a3f49e90d)

Author SHA1 Message Date
Minh Doan f0b630a6c1 add more objects to watch 6 years ago
ak f6ff50e936 replace ether to one 6 years ago
chao 5e3d4c110d fix newview message payload crash; defense different sets of prepared messages attack 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 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 9d734c0013 fix new node join timeout to start view change 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 7445699909 More fixes/improvements 6 years ago
Eugene Kim 664c6c1513 A cumulative collection of fixes/improvements: 6 years ago
Eugene Kim d0d130bc4b Make BlockVerifier return an error on failure 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
Richard Liu bcb608109e update /shard to return libp2p.ID 6 years ago
Richard Liu c0b691cefc
add api /shard for explorer. (#667) 6 years ago
Richard Liu 7e2bcf6413 add /shard API. 6 years ago
johnwhitton 6e5c3e7264 Handle NewMask errors 6 years ago
Rongjian Lan 6044b76068 migrate bls identity from address to public key 6 years ago
Rongjian Lan f72cb43b83 make 1+3 sharded network work locally with deploy.sh 6 years ago
Leo Chen 53317c5204 [log] print a message in validator if consensus reached 6 years ago
Leo Chen 313ddac6ca [utils] move GetAddressHex to utils module 6 years ago
chao 0d5dcfcae3 refactor state syncing; unify state sync and beacon sync (i.e. depends 6 years ago
Leo Chen 78bcab7356 [pong] actively sending pong message 6 years ago
Rongjian Lan 64d6ee80d3 add public key into consensus/drand message 6 years ago
Minh Doan beaa0a84fe clean up technical debt 6 years ago
Leo Chen 16c526af34 [misc] reduce number of logs 6 years ago
Rongjian Lan 1dbb1a9250 remove validator IDs 6 years ago
Richard Liu cb066b9edd
add /nodes API for explorer (#585) 6 years ago
Rongjian Lan 655bd9f73e Use genesis BLS key for beacon chain nodes 6 years ago
Minh Doan 9a2cfb9080 change BlsPubKey to ConsensusPubKey and remove unnecessary log 6 years ago
Minh Doan a4d3c13a18 rename PubKey to BlsPubKey 6 years ago
Rongjian Lan 72f75935e7 Make the first staking transaction working on the contract 6 years ago