Commit Graph

308 Commits (252dcaaac3a13b6a95a03f7a5ac2ebfe6211fbf3)

Author SHA1 Message Date
Daniel Van Der Maden 94bf414083
Make token supply related fns more accurate (#3509) 4 years ago
Rongjian Lan d6e98436f4
Add EthChainID and update signers accordingly for processing eth txns. (#3497) 4 years ago
Rongjian Lan 6782972407
Cleanup sharding config code and add epoch block change for localnet (#3473) 4 years ago
Rongjian Lan 156de0cf33 fix cache key issue 4 years ago
Janet Liang afce7e60a7 [core] Remove redundant function to return ChainDB 4 years ago
Leo Chen 08cb490163 [viewchange] use IsLastBLockInEpoch to determine new epoch 4 years ago
Leo Chen 689a86f889 [viewchange] handle view change in first block of an epoch 4 years ago
Daniel Van Der Maden b088d6dc77
Rosetta Implementation Cleanup (Stage 3 of Node API Overhaul) (#3390) 4 years ago
Jacky Wang 2430a85162
[core] node stuck fix (#3378) 4 years ago
Daniel Van Der Maden e74ab0bc0a
Rosetta Implementation - pt2 FIX2 (Stage 3.2 of Node API Overhaul) (#3338) 4 years ago
Janet Liang 885ecda233 [internal] Add IsSkippedEpoch to each network config & interface 4 years ago
Ganesha Upadhyaya 13d7aab650 [core] repair nil pointer fix 4 years ago
Ganesha Upadhyaya 184976eab8 [blockchain] fix crosslink decoding problem (#3123) 4 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