Commit Graph

263 Commits (97eb8d972f01700cc73091f68711d7752b1dfe23)

Author SHA1 Message Date
Rongjian Lan ea2347fa5e
Cherrypick crosslink related fixes from t3 to master. (#3045) 5 years ago
Rongjian Lan eb4fcc93ab
Optimize crosslink verification logic and add more cache (#3032) 5 years ago
Jacky Wang 9f6e09dce9
Code formatting fix based on `staticcheck` (#3023) 5 years ago
Rongjian Lan a545327567
Add LastEpochInCommittee at prestaking epoch too (#3014) 5 years ago
Rongjian Lan c09b3c3af7
Add LastEpochInCommittee at prestaking epoch too (#3016) 5 years ago
Rongjian Lan 3a32fedb1d
Fix commit payload (#2986) 5 years ago
Ganesha Upadhyaya 3a31ad219e
validator stats regression due to apr bug fixed (#2981) 5 years ago
Jacky Wang 1fce5cbaea
Double sign unit test (#2955) 5 years ago
Rongjian Lan 211ed79888
Avoid duplicate bls as harmony nodes; Fix epoch gap issue (#2964) 5 years ago
Daniel Van Der Maden 5d87fdb59e
Fix error sink msg duplication & false positives (#2924) 5 years ago
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