Commit Graph

285 Commits (95612933d954242ffe9589dd3be6b530ee1a505b)

Author SHA1 Message Date
Chao Ma a8fb319d54 remove address and use publickey in consensus; clean up consensus code 6 years ago
Eugene Kim 5bd07e8e4a Configure commit delay via setter and not ctor arg 6 years ago
Eugene Kim b084e3c38d Retire isHarmonyAccount logic 6 years ago
chao 817592c976 add delay in commit message sending for genesis account 6 years ago
chao 0aa5b84c4b * remove m2mask nil check, which is not needed 6 years ago
Rongjian Lan 2f295f892b merge master 6 years ago
Rongjian Lan 9a74575bae change all string utility for bls 6 years ago
Rongjian Lan 0ecc22291e Update Bls private keys 6 years ago
Rongjian Lan a5abca7cdf Update Bls private keys 6 years ago
Eugene Kim 53bbce84c8 Convert most benign uses of Hex to MustAddressToBech32 6 years ago
Leo Chen 93e9672657 [foundational] add two more FN for st/nw 6 years ago
Leo Chen 4d1c461765 [clean] fix goimports errors 6 years ago
Leo Chen 9582d962aa [genesis] remove old genesis accounts 6 years ago
Minh Doan 9009c39398 disable watching some objects and fix potential memory leak 6 years ago
Rongjian Lan 7f72493a28
Update consensus/consensus.go 6 years ago
Rongjian Lan 86f536e025
Update consensus/consensus.go 6 years ago
Rongjian Lan f5cb8f0068 Change shard state ECDSA address to use common address/byte format 6 years ago
chao d7336c4d96 remove sleep and wait for final committed signature in leader for stability reason 6 years ago
chao b099073d6c fix node syncing stability issue 6 years ago
Minh Doan d7101a7bf7 Fix mem profiling bug. 6 years ago
Chao Ma 411688b8f3 clean consensus code, version 1 removed 6 years ago
ak 6e34ce217a moving denominations under commong 6 years ago
Minh Doan 36cb2888a8 add consensus objects 6 years ago
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