Commit Graph

35 Commits (ae362c24c62055521f859a891657364009dbe20d)

Author SHA1 Message Date
Edgar Aroutiounian 2e27e1b845
[availability] Count availability for shard chain, more log, remove error of div by zero as error condition (#2342) 5 years ago
Edgar Aroutiounian 801b4b83e2
[slash][consensus] Notice double sign & broadcast, factor out tech debt of consensus (#2152) 5 years ago
Edgar Aroutiounian 3559ca8ea4
[network] Factor out reward, prepare data structure for RPC (#2186) 5 years ago
Edgar Aroutiounian 6435f4060c
[availability] Implement inactive toggle for validators that miss threshold of signing required; (66%) of epoch (#2077) 5 years ago
Rongjian Lan 290cc51b72 fix crosslink bugs 5 years ago
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 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
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
Edgar Aroutiounian cc8662cb53 [PR] Address PR comments #3 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 f6ffb43277 Fix bugs and refactor NodeList 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 97efce2766
Further progress on staking (#1709) 5 years ago
Eugene Kim 8cc2543c9e Move header fields into private struct; expose them using getters/setters 5 years ago
Eugene Kim a48123e749 Move (core/)types.Header and friends into block 5 years ago
Eugene Kim 30b63fc552 Revert "Merge pull request #1413 from rlan35/cross-shard-rj" 5 years ago
Eugene Kim 83f260542b Factor consensus engine and reward logic out 5 years ago