Commit Graph

110 Commits (8379ce90100d626217a7806b94ea294e83712dd4)

Author SHA1 Message Date
Rongjian Lan 9c0554ddc9
Use finer grained RWMutex for consensus logic (#3239) 4 years ago
Rongjian Lan a168517dfc
Move BLS related wrapper structure into a separate package (#3209) 4 years ago
Sebastian Johnsson 41c0b3d06b [coverage] [consensus] Improved coverage for the consensus package 4 years ago
Sebastian Johnsson 7e5b6fe5e9 [coverage] [consensus] Improved coverage for the consensus package 4 years ago
Rongjian Lan 67d77c3965
Refactor bls public key into a wrapper (#3203) 4 years ago
Rongjian Lan 68ab784d63
Refactor quorum calculation and signature submission process (#3201) 4 years ago
Rongjian Lan 3c8cb849af use normal map for key index 5 years ago
Rongjian Lan b403baa35c Add cache to validator membership check 5 years ago
Leo Chen 6b435a8dea [quorum] return earlier idx if found in IndexOf 5 years ago
Rongjian Lan ea2347fa5e
Cherrypick crosslink related fixes from t3 to master. (#3045) 5 years ago
Rongjian Lan eb4fcc93ab
Optimize crosslink verification logic and add more cache (#3032) 5 years ago
Ganesha Upadhyaya 3d0f5c1f34
fix super-committee total-raw-staked bug (#2932) 5 years ago
Edgar Aroutiounian d4b8c11a8c
Add raw stake and median to super committee (#2880) 5 years ago
Edgar Aroutiounian 2afd8a54c4
[p2p] Throttle receive with constant cost function (#2819) 5 years ago
Rongjian Lan e484b556ae
optimize leader signature collection strategy; Clean up logs (#2775) 5 years ago
Edgar Aroutiounian f8cbd880bb
[project] Bls -> BLS & remove dead Stake solidity contract (#2652) 5 years ago
Edgar Aroutiounian 26241bb9cf
[quorum] Expose external slot count for JSON of Decider (#2642) 5 years ago
Rongjian Lan 22de132fd1
Add shard config for harmony/external voting power (#2517) 5 years ago
Rongjian Lan 6953a1a7f8 fix import 5 years ago
Rongjian Lan c237a18b6f Add shard config for harmony/external voting power 5 years ago
Edgar Aroutiounian a815e11409
[rpc][availability][apr] Richer validator information, implement APR, unify EPoS computation, remove fall 2019 tech debt (#2484) 5 years ago
Edgar Aroutiounian 2baab4864c
[staking][validation][protocol] (#2396) 5 years ago
Edgar Aroutiounian ed351bf2e4
[rpc] Extend super committee with external slot count (#2426) 5 years ago
Edgar Aroutiounian 82952fe866
[votepower][quorum] Remove unused method, expose raw percent of vote power (#2383) 5 years ago
Ganesha Upadhyaya ae362c24c6
multi-bls key support (#2249) 5 years ago
flicker-harmony aadeae045c Refactor explorer service and add addresses fetch from db 5 years ago
Edgar Aroutiounian edaf12cdf5
[consensus][availability] Remove mistake of setting counters to 0, re… (#2340) 5 years ago
Edgar Aroutiounian c4d744e376
[double-sign] Provide proof of double sign in slash record sent to beaconchain (#2253) 5 years ago
Edgar Aroutiounian e9b45171ba
[rpc][quorum] Expose SuperCommittee network wide RPC (#2273) 5 years ago
Edgar Aroutiounian 801b4b83e2
[slash][consensus] Notice double sign & broadcast, factor out tech debt of consensus (#2152) 5 years ago
Edgar Aroutiounian 44c5704fc3
[slash][quorum][consensus] Extend existing data structures for slashing needs (#2148) 5 years ago
Rongjian Lan e7cd387677 Fix create validator balance reduce bug; Add LastEpochInCommittee (#2029) 5 years ago
chaosma 56dc8e04d8 add debug flag to avoid too much log info in crosslink verification (#2021) 5 years ago
Edgar Aroutiounian 53a86a144a
[quorum] Optimize counting up of already voted voters (#2000) 5 years ago
Edgar Aroutiounian c8c9c8d594
[votingpower] Extend vote power snapshot, use existing roster data structure (#1935) 5 years ago
janet-harmony d106e75e85 [unit-testing] Finish one-node-staked-vote tests (#1933) 5 years ago
Rongjian Lan 2160c37e96 Fix quorum checking discrepancy 5 years ago
Edgar Aroutiounian a8a9f7c951
[votepower] Allow negative diff, explicit check sum to one (#1930) 5 years ago
janet-harmony aeb360cb83 [unit-testing] one-node-staked-vote (#1897) 5 years ago
Chao Ma f4ab52a99f use int64 instead of numeric.Dec for uniform voter to count the votes 5 years ago
Chao Ma 0b2f4d137b refactor similar code out as IsQuorumAchievedByMask 5 years ago
Chao Ma 925afa59ee add validator voting power calculation based on bitmap mask 5 years ago
Rongjian Lan b240b7533d Many small tweaks 5 years ago
Edgar Aroutiounian ae5d010f9a
[quorum] Add interface method to check if I am in committee, implemen… (#1892) 5 years ago
Edgar Aroutiounian 1cf258ee06
[staking][reward] Give out block reward for cross links (#1869) 5 years ago
Rongjian Lan 7291f8b248 Fix staking epoch transition 5 years ago
Rongjian Lan 9353092ad4 Remove local code 5 years ago
Rongjian Lan 9070421462 Refactor shard compute logic and make local test friendly for staking 5 years ago
Rongjian Lan 7db45a54c7 disable 100 percent check 5 years ago
Rongjian Lan 929a44dbd5 Remove local change 5 years ago