Commit Graph

803 Commits (e5199939f5e47e9812a17b70ba92e3711558e6b4)

Author SHA1 Message Date
Edgar Aroutiounian 6435f4060c
[availability] Implement inactive toggle for validators that miss threshold of signing required; (66%) of epoch (#2077) 5 years ago
Rongjian Lan 7c9142d35e
Add debug info for overrun issue & fix OOB bugs from the audit (#2076) 5 years ago
Edgar Aroutiounian 352833d773
[votepower] Need to loop for right ShardID for BLS key ownership (#2032) 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
chao 0902ec870b WIP 5 years ago
chao 0c379b8746 correct viewchangeID in case of malicious leader 5 years ago
chao 20feb3a2f7 make consensus log verbose 5 years ago
chao 05dd350906 address comments 5 years ago
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