Commit Graph

253 Commits (6539a476d4865d06ef98f28b2f0ee94bba5934c2)

Author SHA1 Message Date
Rongjian Lan 7ed4f22dcf
cleanup and fixes during audit (#2931) 5 years ago
Jacky Wang 775547821c
Staking types test (#2925) 5 years ago
Jacky Wang 39cbe94dc7
Msg copy fix (#2921) 5 years ago
Rongjian Lan 2ccc20be2b
Fix slash verify to avoid potential duplicate slashes exploit (#2914) 5 years ago
Rongjian Lan 3e9de14693
revert min stake change for validator (#2912) 5 years ago
Ganesha Upadhyaya 1546fa0479
apr average over last hundred epochs (#2900) 5 years ago
Rongjian Lan ab9f3f8e0b
remove mistakenly committed files (#2896) 5 years ago
Rongjian Lan 69ff3b5bfe
Roll back validator list when block is reverted (#2891) 5 years ago
Ganesha Upadhyaya 9bbc3d06a2
booted-status to show booted for elected/signing validator, not booted for never elected (#2884) 5 years ago
Daniel Van Der Maden 451d16c14d
Add viewID to block signed content (#2877) 5 years ago
Rongjian Lan ea1043999f
[audit] Fix and make exact 7 epoch for undelegation (#2874) 5 years ago
Jacky Wang 3a94c7ef17
Availability test (#2840) 5 years ago
Rongjian Lan a02ad0f38b
Fix potential nil pointer when validator is first created (#2866) 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
Edgar Aroutiounian a52599f7f2
[rpc] Hide confusing num-beacon-blocks-until-next-epoch (#2836) 5 years ago
Rongjian Lan e28c942aa0
make delegation index consistent by block number (#2834) 5 years ago
Edgar Aroutiounian 25c1d8f332
[effective] Hold onto raw stake used per slot purchase as well (#2832) 5 years ago
Rongjian Lan e9e1a37cc7
Remove elected validator list and make sure validator list addrs are unique (#2806) 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
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 a7b79616e2
[project] More Spring Cleaning (#2751) 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 1a2c23ada5
[validator] Hide one field from JSON (#2705) 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 9b07fb71a9
[project] Fix first round issue from static analysis check (#2682) 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 afeeb69094
[slash] Fix leftover mistake (#2666) 5 years ago
Daniel Van Der Maden 832246d225
[staking] Remove per block EPOS status msgs (#2661) 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
Edgar Aroutiounian 2df20124e1
[effective][rpc] Add banned string in virtual eposstatus field (#2648) 5 years ago
Edgar Aroutiounian a79c85fa8d
[slash] Adjust rate as function of voting power of double-signers rather than % of committee (#2639) 5 years ago
Ganesha Upadhyaya fa96787134
Fixes-#2558: Allow validator to withdraw all their stake if they wanna quit (#2629) 5 years ago
Edgar Aroutiounian 5c87960641
[validator] Cache harmony keys in a closure (#2636) 5 years ago
Ganesha Upadhyaya cb42bdb767
disallow duplicate bls keys as internal keys (#2633) 5 years ago
Edgar Aroutiounian 0e5e72f941
[slash] Quick hash sanity check for conflicting ballots (#2627) 5 years ago
Rongjian Lan be91928a3f Not update status for banned validators 5 years ago
Janet Liang 9c7637adaf [#2620] Make error message general for all staking transactions 5 years ago
Janet Liang 05d870dee6 [#2530] Replace 'current-epoch-blocks-left' with meaningful data 'num-beacon-blocks-until-next-epoch' 5 years ago
Rongjian Lan 5cd8af2891 Set block reward to flat-rate 28 ONE 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 be25f35810 fix peckshield audit issues on slashing 5 years ago
Rongjian Lan ae19b26787 Fix comments on log/errors 5 years ago
Rongjian Lan 4e150779d3 Fix APR's nill header issue; Compute APR based on last epoch 5 years ago
Edgar Aroutiounian 146e1c2f80
[apr] Temp comment out (#2563) 5 years ago