Commit Graph

36 Commits (b724381385f47619368cc5653a966cb7e8d5dc4e)

Author SHA1 Message Date
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
Rongjian Lan bad9c62922 Bug fixes 5 years ago
Edgar Aroutiounian b8456dd83d
[staking] Fix mistake on QurorumThreshold, change Harmony share to 68 (#1863) 5 years ago
Edgar Aroutiounian 5ca5632dfc
[staking] Implement Quorum in staked case while taking into account hmy slots (#1855) 5 years ago
Edgar Aroutiounian cc8662cb53 [PR] Address PR comments #3 5 years ago
Edgar Aroutiounian ccd0648c73 [PR] Address PR comments #2 5 years ago
Edgar Aroutiounian 0114330744 [PR] Address PR comments #1 5 years ago
Edgar Aroutiounian f348e10a5c [committee] Remove debug code 5 years ago
Edgar Aroutiounian 6c2cfae12c [slashing] Update Naming from Master merge 5 years ago
Edgar Aroutiounian e3802cd31b [slashing][reward][committee] Begin wrap up for merge with master, focus on rewards 5 years ago
Edgar Aroutiounian f1cf151ba1 [slashing] Checkpoint to verify changing of committee works 5 years ago
Edgar Aroutiounian 91285cb0c3 [slash] UpdateConsensusInformation has Staked based Quorum Decider, provide abstraction for inavailability count 5 years ago
Edgar Aroutiounian ac579e81d8 [slashing] Create Slasher interface, thread through to Accumulate in reward 5 years ago
Edgar Aroutiounian a8163205d1
[reward] Abstract out block-reward, use rewarder, check result correct (#1820) 5 years ago
Edgar Aroutiounian 55c9386e4c
[quorum] Staked quorum member (#1819) 5 years ago
Edgar Aroutiounian 9f00923ac3
Factor out quorum logic from consensus, undo prior consolidation of values under core (#1717) 5 years ago