Commit Graph

156 Commits (518f8dadb620cd050188da7f2d75243854e0e010)

Author SHA1 Message Date
Edgar Aroutiounian ad1e94b56b [reward] Give back 0 reward instead of nil 5 years ago
Edgar Aroutiounian c2d0315823 [reward] log whatPercentStakedNow 5 years ago
Edgar Aroutiounian 06ca582f16 [reward] Do need Update for accumulator 5 years ago
Edgar Aroutiounian c30886b1d4 [reward] Do not update state in reward, thread through payout, write payout on each block 5 years ago
Chao Ma a8a977e88c add getECDSAFromCoinbase for leader reward 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
Rongjian Lan 67f5100e5b Make sure crosslink is verified before proposal 5 years ago
Rongjian Lan f59469b644 Add epoch number in shard state for use of beacon epoch sync 5 years ago
Rongjian Lan e0ea579922 Fix comment 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
chao 338720b2eb fix epoch reading bug; return error in block crosslink verification if crosslink exists; only remove committed crosslink from pending list 5 years ago
chao 706fc6826f fix block reward code after merging with crosslink 5 years ago
Rongjian Lan 1a5757b249 Add full block reward integration; fix staking index bug; add staking txn signer check (#1889) 5 years ago
Rongjian Lan b8fa1b4d94 Fix block rewards; Add staking signer check; Allow 0 MaxTotalDelegation (#1887) 5 years ago
Rongjian Lan 842ced116a Fix cross-shard verification during staking epoch change 5 years ago
Rongjian Lan c6e0fc68fa Add voting power and effective stake into RPC 5 years ago
Edgar Aroutiounian 5137dfed36
[WIP] [reward] Adjust block reward by % of current staked (#1874) 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 9070421462 Refactor shard compute logic and make local test friendly for staking 5 years ago
Rongjian Lan bad9c62922 Bug fixes 5 years ago
Edgar Aroutiounian cc8662cb53 [PR] Address PR comments #3 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 3b7b70cb1c Fix a bug on 14 epoch comp and refactor undelegation withdrawal 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 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
Rongjian Lan cc4a520f6c Ensure the order of undelegate entries 5 years ago
Rongjian Lan 5342907e85 Add undelegated token withdrawal 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
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
chao 73c87650ae cross shard state reading error fix 5 years ago
Chao Ma 5c697cc38a fix logic issue in GetPublicKeys function 5 years ago
chao 6321395731 fix cross shard verification error; need to recalculate shard state instead of retrieve for cx transaction receipt verification 5 years ago
Chao Ma f374fa2c1e fix logic issue in GetPublicKeys function 5 years ago
chao 33aa47b9d3 fix cross shard verification error; need to recalculate shard state instead of retrieve for cx transaction receipt verification 5 years ago
Rongjian Lan 19b1c03888 Refactor shard state related func and avoid recomputing shard state unnecessarily 5 years ago
Dennis Won 242f66a915 fixed cx txn with the change and added comments explanining the 3 differences between header.GetShardState vs core.GetShardState vs. chain.ReadShardState 5 years ago
Dennis Won 602f36a4b7 fix incoming receipt tx block header verification by correct shard state reading 5 years ago