Commit Graph

51 Commits (738134a7da2f7561da17f589fafd74fc3fc2e6e6)

Author SHA1 Message Date
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
Dennis Won ade5978225 addressed chao's comment 5 years ago
Dennis Won 479c9ad60f consolidate and use block validator functions properly 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
Rongjian Lan 892958a232 Add epoch-based forking 5 years ago
Rongjian Lan 2d51ba0ee2 Add CrossLink, EIP155, and S3 fork 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