Commit Graph

244 Commits (252dcaaac3a13b6a95a03f7a5ac2ebfe6211fbf3)

Author SHA1 Message Date
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
Ganesha Upadhyaya 7bd833a1a3
adding minimum stake for create validator and delegation (#2544) 5 years ago
Edgar Aroutiounian a2e6ad8455
[rpc] Move lifetime outside of validator so always show APR (#2542) 5 years ago
Edgar Aroutiounian 12977230c1
[apr] Follow breadcrumb with hash and number (#2532) 5 years ago
janet-harmony 26a17808db
[staking] Change Candidacy messages to be more user friendly (#2534) 5 years ago
Rongjian Lan 2f15cd5da8
Check signing threshold and set EPoS status only at last epoch (#2533) 5 years ago
Edgar Aroutiounian bf9bbc2a25
[rpc][validator] Expose lifetime signing counters again (#2524) 5 years ago
Edgar Aroutiounian 706338db46
[apr] More log in various steps of actual compute for apr (#2523) 5 years ago
Edgar Aroutiounian a2b00fde7b
[apr] Traverse till find right epochs or bottom out (#2522) 5 years ago
Rongjian Lan 22de132fd1
Add shard config for harmony/external voting power (#2517) 5 years ago