Commit Graph

140 Commits (22b1e0cb5096c097897a4a74a882507b6fa6afb2)

Author SHA1 Message Date
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
Rongjian Lan ea1043999f
[audit] Fix and make exact 7 epoch for undelegation (#2874) 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 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
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 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
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
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
Janet Liang 9b93b9376f [#2620] Update undelegate message to be more clear 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
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 a815e11409
[rpc][availability][apr] Richer validator information, implement APR, unify EPoS computation, remove fall 2019 tech debt (#2484) 5 years ago
Rongjian Lan 6ef7b0a2a4
[Audit] Refactor offchain commit and fix consistency issue due to batch write (#2479) 5 years ago
Rongjian Lan 84ffbcfb7a
[audit] Various fixes and todos for auditing; add log for collect rewards (#2448) 5 years ago
Edgar Aroutiounian 51d5280e11
[validator] Turn int into string in JSON representation (#2454) 5 years ago
Edgar Aroutiounian 2baab4864c
[staking][validation][protocol] (#2396) 5 years ago
Edgar Aroutiounian cf3b5053ba
[webhook][rpc][availability] Hooks, current signing, remove median-stake cached values (#2423) 5 years ago
Edgar Aroutiounian 8e15daf7e2
[project][rpc][log][config] OSTN improvements (#2420) 5 years ago
Edgar Aroutiounian 71974e1440
Add delegation test, cover 18.3% (#2274) 5 years ago
flicker-harmony aadeae045c Refactor explorer service and add addresses fetch from db 5 years ago
Edgar Aroutiounian b5b6fdb035
[staking] Fix mistaken type cast (#2344) 5 years ago
Ganesha Upadhyaya 5a708983da
fix gas cost check for tx pool (#2324) 5 years ago
Edgar Aroutiounian c4d744e376
[double-sign] Provide proof of double sign in slash record sent to beaconchain (#2253) 5 years ago
Daniel Van Der Maden d51823599c
[staking] Make staking tx shardID use common val (#2303) 5 years ago
Daniel Van Der Maden e7c4ef37d5
Add shard checking to Tx-Pool & correct blacklist (#2301) 5 years ago
Daniel Van Der Maden 376178a91e
Abstract transactions in tx pool and add staking transaction to pool with error report (#2236) 5 years ago
Ganesha Upadhyaya e0aaa6b0b1
making min/max delegations string instead of uint64 (#2240) 5 years ago
Rongjian Lan 4c9ec7329e
Small fixes on staking log and error (#2158) 5 years ago
Edgar Aroutiounian 801b4b83e2
[slash][consensus] Notice double sign & broadcast, factor out tech debt of consensus (#2152) 5 years ago
Rongjian Lan 721611a949
Report duplicate bls keys on the same validator as error (#2179) 5 years ago
Rongjian Lan c9072fc1b6
Make 0 value no-op for minself and maxtotal in edit validator (#2174) 5 years ago
Rongjian Lan 96814d3361
Update description fields individually; Cleanup staking txn fields (#2173) 5 years ago
Edgar Aroutiounian 44c5704fc3
[slash][quorum][consensus] Extend existing data structures for slashing needs (#2148) 5 years ago
Edgar Aroutiounian 6435f4060c
[availability] Implement inactive toggle for validators that miss threshold of signing required; (66%) of epoch (#2077) 5 years ago