Commit Graph

261 Commits (1e03507f92135abea19273d937d3915af1ac96b2)

Author SHA1 Message Date
Rongjian Lan eb54d32e2c refactor slashing code and fix audit todos 5 years ago
Rongjian Lan c280606310 fix pendingSlash setting 5 years ago
Rongjian Lan be25f35810 fix peckshield audit issues on slashing 5 years ago
Rongjian Lan 4e150779d3 Fix APR's nill header issue; Compute APR based on last epoch 5 years ago
Edgar Aroutiounian 706338db46
[apr] More log in various steps of actual compute for apr (#2523) 5 years ago
Rongjian Lan 22de132fd1
Add shard config for harmony/external voting power (#2517) 5 years ago
Edgar Aroutiounian a815e11409
[rpc][availability][apr] Richer validator information, implement APR, unify EPoS computation, remove fall 2019 tech debt (#2484) 5 years ago
Rongjian Lan 6ef7b0a2a4
[Audit] Refactor offchain commit and fix consistency issue due to batch write (#2479) 5 years ago
Rongjian Lan 84ffbcfb7a
[audit] Various fixes and todos for auditing; add log for collect rewards (#2448) 5 years ago
Edgar Aroutiounian 2baab4864c
[staking][validation][protocol] (#2396) 5 years ago
Edgar Aroutiounian cf3b5053ba
[webhook][rpc][availability] Hooks, current signing, remove median-stake cached values (#2423) 5 years ago
Edgar Aroutiounian f7776e8526
Add more log for committee compute (#2366) (#2367) 5 years ago
flicker-harmony aadeae045c Refactor explorer service and add addresses fetch from db 5 years ago
Rongjian Lan d2a901dc49
Remove invalid crosslinks from pending; optimize block timer (#2356) 5 years ago
Rongjian Lan 715744f3c9
Fix last continuous crosslink logic (#2316) 5 years ago
Edgar Aroutiounian c4d744e376
[double-sign] Provide proof of double sign in slash record sent to beaconchain (#2253) 5 years ago
Rongjian Lan bbab20442c
Change active to elected for validator status (#2320) 5 years ago
Rongjian Lan 5eda2049d7
Refactor offchain data commit; Make block onchain/offchain commit atomic (#2279) 5 years ago
Rongjian Lan 0aeb3c9e34
State prune (#2244) 5 years ago
Edgar Aroutiounian 801b4b83e2
[slash][consensus] Notice double sign & broadcast, factor out tech debt of consensus (#2152) 5 years ago
Edgar Aroutiounian cae94683a4
[state][staking][availability] Handle availability only in finalize (#2185) 5 years ago
Edgar Aroutiounian 0a0a6336bc
[node][availability] Move validator staking update in writeblockwithstate earlier in body, temp disable availability (#2175) 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 eca9ca51ad
Fix mutex misuse in pending crosslinks (#2094) 5 years ago
Rongjian Lan 55664be681
Add the cross-shard fixes from s3 into master (#2105) 5 years ago
Rongjian Lan e7cd387677 Fix create validator balance reduce bug; Add LastEpochInCommittee (#2029) 5 years ago
Rongjian Lan 931601c773 Fix shard state epoch number after staking 5 years ago
Rongjian Lan 0e7f01edfe Fix ecdsa lookup bug 5 years ago
Edgar Aroutiounian 8df38a0a41
[reward] Make reward be 0 in preStaking era (#1991) 5 years ago
Rongjian Lan 290cc51b72 fix crosslink bugs 5 years ago
Rongjian Lan 595b3e51af Fix accumulator init issue and add one-off fix for testnet 5 years ago
Eugene Kim 4a326b33e4 Store CX receipts in blocks in CrossTxEpoch 5 years ago
Eugene Kim ef389aa9b5 IsCrossTx → AcceptsCrossTx 5 years ago
chao 05dd350906 address comments 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
Rongjian Lan 1a119186b5 make uptime accounting not failing normal consensus 5 years ago
Rongjian Lan 117d0f5702 Fix uptime account code 5 years ago
Edgar Aroutiounian 556f3ff547 [reward] Add branch on payout in accumulator reward 5 years ago
Edgar Aroutiounian 2bf31d892a [reward] Explicitly record block-reward accumulator from beginning of time 5 years ago
Edgar Aroutiounian da3fe98c13 [reward] Bump up cache limit on block accum 5 years ago
Edgar Aroutiounian 161bcb0edb [reward] Write to cache only after db write success 5 years ago
Edgar Aroutiounian f828ef67b3 [reward] Write to cache only after write to db 5 years ago
Edgar Aroutiounian 7e83017fca [reward] UpdateBlockReward does not need cache usage 5 years ago
Edgar Aroutiounian 575b0867d0 [reward] Put into cache fast 5 years ago
Edgar Aroutiounian a4b3ba33d9 [reward] Use cache proper 5 years ago
Edgar Aroutiounian 2dad5528d6 [reward] Stub out db for in-memory cache 5 years ago
Edgar Aroutiounian 4427b2a805 [reward] Since have invariant on reward payout != nil, remove != nil check 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