Commit Graph

1104 Commits (e3cabb8ba7355154c6c0aecacd30cf431019d337)

Author SHA1 Message Date
Rongjian Lan 41509fcbc6 fix bug on undelegate and delegate 5 years ago
Edgar Aroutiounian c8c9c8d594
[votingpower] Extend vote power snapshot, use existing roster data structure (#1935) 5 years ago
chao 44a8e2a376 add shardState verification 5 years ago
Edgar Aroutiounian 89ec5ac541 [reward] Remove Write from ChainReader 5 years ago
Edgar Aroutiounian c30886b1d4 [reward] Do not update state in reward, thread through payout, write payout on each block 5 years ago
Rongjian Lan 178fbde94c Fix bls pub key address leader lookup bug 5 years ago
janet-harmony bca505d297 [unit-testing] Add test for schedule.go (#1938) 5 years ago
janet-harmony d106e75e85 [unit-testing] Finish one-node-staked-vote tests (#1933) 5 years ago
Rongjian Lan c463cacbb2 Add more clear log 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
Edgar Aroutiounian 954c50a561
[reward] Add reward Schedule table from spreadsheet (#1929) 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
Rongjian Lan f59469b644 Add epoch number in shard state for use of beacon epoch sync 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 35d22ce116
[reward] Add Accumulator of rewards in DB (#1888) 5 years ago
Edgar Aroutiounian ae5d010f9a
[quorum] Add interface method to check if I am in committee, implemen… (#1892) 5 years ago
janet-harmony 1cc2518d31 [unit-testing] Add units test for roster.go & calculate.go (#1885) 5 years ago
janet-harmony ad4a8aab6e [staking] Set RawStake per voter when creating roster (#1882) 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 d9900b44df Fix staking epoch logic 5 years ago
Rongjian Lan 9353092ad4 Remove local code 5 years ago
Rongjian Lan e79ba5fe88 Make shard chain follow beacon chain's epoch after stakingEpoch 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 1049bd5f24 More clear up and fixes 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 5eb5e7a6b0 [committee] Remove debug code, use shardchain db instead of beaconchain 5 years ago
Edgar Aroutiounian f348e10a5c [committee] Remove debug code 5 years ago
Edgar Aroutiounian c673bd97d9 [committee] Switch over committee for stake epoch 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
Rongjian Lan 77ff9d422d test code 5 years ago
Rongjian Lan 59059f4b46 Fix active validator DB api 5 years ago
Rongjian Lan f6ffb43277 Fix bugs and refactor NodeList 5 years ago
Rongjian Lan 92f80b0445 Add validator snapshot in local db 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 867fdb1f8d
Implementation of EPoS (#1826) 5 years ago