Commit Graph

342 Commits (09dba41685d82bfa2f14113c2a512e965ce2e4b9)

Author SHA1 Message Date
Rongjian Lan 3d42325d98
Fix both total stake counting and delegation index for validator itself (#2952) 5 years ago
Janet Liang 60ec94b9fc
[rpc] delegations by block & error checks (#2903) 5 years ago
Rongjian Lan 6ec6b6378a
remove unused code; continue on failed slash record; Fix delete slash func on SetDifference (#2923) 5 years ago
Ganesha Upadhyaya cda9315585
directly assign instead of assigning to copied value (not pointer) (#2909) 5 years ago
Ganesha Upadhyaya 1546fa0479
apr average over last hundred epochs (#2900) 5 years ago
Ganesha Upadhyaya 0885dc7e23
Fix super committee bug and add raw-stake to per-key metrics (#2899) 5 years ago
Rongjian Lan 69ff3b5bfe
Roll back validator list when block is reverted (#2891) 5 years ago
Rongjian Lan 3808f5317b
Make commit sig committed along with the block (#2875) 5 years ago
Rongjian Lan 614f528f2c
Add cache to state validator modification; refactor snapshot read/write (#2844) 5 years ago
Rongjian Lan db8f1a05b9
Optimize delegation reward distribution with caching (#2839) 5 years ago
Rongjian Lan e28c942aa0
make delegation index consistent by block number (#2834) 5 years ago
Ganesha Upadhyaya 27741f8407
[core] fix validator boot status for outgoing validators (#2822) 5 years ago
Ganesha Upadhyaya a732b52d86
port the fix from go-ethereum for interface conversion panic (#2816) 5 years ago
Rongjian Lan e9e1a37cc7
Remove elected validator list and make sure validator list addrs are unique (#2806) 5 years ago
Jong Hyuck Won a37074c7d3
Updating all sources of block.Transactions and do the corresponding work for block staking txns (#2655) 5 years ago
Edgar Aroutiounian 2836f0f620
[project] Remove over complicated packages, useless tests, dead functions (#2780) 5 years ago
Rongjian Lan e484b556ae
optimize leader signature collection strategy; Clean up logs (#2775) 5 years ago
Ganesha Upadhyaya 6e5a4016bf
fix the validator stats not showing up for two epochs issue (#2774) 5 years ago
Rongjian Lan 70a4272fa3
fix block proposal ordering; other offchain commits change (#2761) 5 years ago
Edgar Aroutiounian ba1c0cd0a3
[blockchain] Create fresh big int, remove more dead code from static … (#2749) 5 years ago
Rongjian Lan 191f1d5ee2
Final attempt: Don't div by 0; print out debug info (#2746) 5 years ago
Edgar Aroutiounian 832b01dfff
Revert "fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737)" (#2742) 5 years ago
Ganesha Upadhyaya dc036e64c7
fix earned-reward by writing the stats only once, remove from UpdateValdiatorVotingPower (#2737) 5 years ago
Rongjian Lan 66f26e8508
do snapshot for validators at last block of epoch (#2736) 5 years ago
Rongjian Lan f2524a888d
Make validator snapshot on new validator too (#2733) 5 years ago
Rongjian Lan 350b7a0bb4 fix validator snapshot cache 5 years ago
Rongjian Lan 05f2e20a39
make validator snapshot consistent with election (#2726) 5 years ago
Edgar Aroutiounian 56d19d2a84
[offchain][effective][validator][rpc] Give reason why booted from committeee, move effective stake in rpc outside metrics (#2699) 5 years ago
Edgar Aroutiounian 64fd469741
[blockchain] More info in failed validator voting power update (#2685) 5 years ago
Edgar Aroutiounian e60ab0b09c
[validator] Use own field for VoteWithCurrentEpochEarning b/c composed struct had own MarshalJSON (#2667) 5 years ago
Edgar Aroutiounian 551513c74f
[reward][rpc] Extend ValidatorStats with earning per key, implement tracking rewards in payout, expose network wide (#2656) 5 years ago
Edgar Aroutiounian f8cbd880bb
[project] Bls -> BLS & remove dead Stake solidity contract (#2652) 5 years ago
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
Rongjian Lan c237a18b6f Add shard config for harmony/external voting power 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