Commit Graph

300 Commits (0fd5f18ec84daa4b39c6c4efd56b7f71f7fab485)

Author SHA1 Message Date
Janet Liang 885ecda233 [internal] Add IsSkippedEpoch to each network config & interface 5 years ago
Ganesha Upadhyaya 13d7aab650 [core] repair nil pointer fix 5 years ago
Ganesha Upadhyaya 184976eab8 [blockchain] fix crosslink decoding problem (#3123) 5 years ago
Ganesha Upadhyaya dfd5d3bde8
[apr] compute APR for current committee not next committee, fix previous APRs in the snapshot (#3106) 5 years ago
Leo Chen 5c1cc8232c
Merge master to t3 0523 (#3085) 5 years ago
Jacky Wang 99fb897bb4
[test] State trans unit test (#3043) 5 years ago
Rongjian Lan 2538a85f5c add nil check on getHeader 5 years ago
Rongjian Lan b8ab786244
add nil check on getHeader (#3030) 5 years ago
Ganesha Upadhyaya 3a31ad219e
validator stats regression due to apr bug fixed (#2981) 5 years ago
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