Commit Graph

648 Commits (ab9f3f8e0b08e88eff92dc5d174953a2ea3991a5)

Author SHA1 Message Date
Rongjian Lan 8fde77d88f
Revert merge normal and staking txns (#2895) 5 years ago
Rongjian Lan 918dec8cbe
Make TxPool ordering deterministic (#2892) 5 years ago
Rongjian Lan 69ff3b5bfe
Roll back validator list when block is reverted (#2891) 5 years ago
Rongjian Lan 044c2dcd4c
Validator dedup on identity and bls keys (#2883) 5 years ago
Daniel Van Der Maden 451d16c14d
Add viewID to block signed content (#2877) 5 years ago
Rongjian Lan f1d26b3a75
Remove same-validator redelegation feature which is useless and confu… (#2879) 5 years ago
Rongjian Lan 3808f5317b
Make commit sig committed along with the block (#2875) 5 years ago
Ganesha Upadhyaya 21327e697e
[core][node/worker] processing staking and normal transactions together (#2869) 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
Edgar Aroutiounian b8798c3ff5
[project] Dead fields, staticcheck, update deprecated libp2p usages (#2825) 5 years ago
Ganesha Upadhyaya 27741f8407
[core] fix validator boot status for outgoing validators (#2822) 5 years ago
Edgar Aroutiounian 2afd8a54c4
[p2p] Throttle receive with constant cost function (#2819) 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
Rongjian Lan dcacc6347b
burn all transaction fees after staking. (#2792) 5 years ago
Leo Chen 0bacc9e769
[go] upgrade golang to 1.14 (#2779) 5 years ago
Edgar Aroutiounian 2836f0f620
[project] Remove over complicated packages, useless tests, dead functions (#2780) 5 years ago
Edgar Aroutiounian a1c8156afc
[project] Endless tech debt (#2777) 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 094a61301d
[project] Unused yaml files, staticcheck fixes, dead tests that only delay build (#2755) 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 24a17feecd
[state] ValidatorWrapper div zero panic fix - (#2724) 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
Ganesha Upadhyaya 5b7d2165d8
fix earned-reward per key by temporary persisting stats and writing at once (#2693) 5 years ago
Edgar Aroutiounian 64fd469741
[blockchain] More info in failed validator voting power update (#2685) 5 years ago
Jong Hyuck Won b9843abde5
RPC for staking txns and txns history queries (#2554) 5 years ago
Edgar Aroutiounian 9718e16820
[offchain] Forgot removal of ! which did not write the reward-per-key to work (#2681) 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
Ganesha Upadhyaya fa96787134
Fixes-#2558: Allow validator to withdraw all their stake if they wanna quit (#2629) 5 years ago
Ganesha Upadhyaya cb42bdb767
disallow duplicate bls keys as internal keys (#2633) 5 years ago
Edgar Aroutiounian ce44eeb710
[state] Do not add reward to banned validator (#2626) 5 years ago
Janet Liang 9b93b9376f [#2620] Update undelegate message to be more clear 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