Commit Graph

1141 Commits (97b4c735dc7467ca9b9b0d42367c08a686740b8a)

Author SHA1 Message Date
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
Rongjian Lan 5342907e85 Add undelegated token withdrawal 5 years ago
Edgar Aroutiounian 381a7bd02d
[project] Fix two leaking tickers (#1821) 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 e6a4fbea4f
[committee] Factor out committee membership, provide entry for alternative committee membership (#1818) 5 years ago
Rongjian Lan 085e820a11 Fix epoch change leader block proposal issue 5 years ago
chao 99ab46c6ef fix block encoding/decoding issue for blockV2 and headerV3 5 years ago
chao d49dafa85e debug block encode/decode 5 years ago
flicker-harmony a90968d379 Replace ethereum log with zerolog and some ctxerrors 5 years ago
chaosma 942456f564 Staking part2 (#1755) 5 years ago
chao 0c020d8f6a add staking transaction field in v2 body; add v3 header for future fork 5 years ago
Edgar Aroutiounian 9f00923ac3
Factor out quorum logic from consensus, undo prior consolidation of values under core (#1717) 5 years ago
Edgar Aroutiounian 97efce2766
Further progress on staking (#1709) 5 years ago