Commit Graph

117 Commits (14e017defc18d712a854f70104e173e6eea9c058)

Author SHA1 Message Date
Rongjian Lan 8a08da67ca
Remove unused code and add benchmark for consensus msg check (#3211) 4 years ago
Rongjian Lan a168517dfc
Move BLS related wrapper structure into a separate package (#3209) 4 years ago
Rongjian Lan 67d77c3965
Refactor bls public key into a wrapper (#3203) 4 years ago
Leo Chen 5c1cc8232c
Merge master to t3 0523 (#3085) 5 years ago
Leo Chen 72281aff09 fix nil pointer crash 5 years ago
Rongjian Lan 400175b05f
Add quick unlock feature at epoch 190 (#3086) 5 years ago
Leo Chen 83dc18e7f1 fix nil pointer crash 5 years ago
Rongjian Lan e0bb1befbf Add more log info 5 years ago
Rongjian Lan 2538a85f5c add nil check on getHeader 5 years ago
Rongjian Lan b8ab786244
add nil check on getHeader (#3030) 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
Ganesha Upadhyaya ac977cfd9d
fix signers share computation to use only non-harmony nodes (#3011) 5 years ago
Ganesha Upadhyaya 9f9223b50a
fix signers share computation to use only non-harmony nodes (#3008) 5 years ago
Rongjian Lan 2ccc20be2b
Fix slash verify to avoid potential duplicate slashes exploit (#2914) 5 years ago
Ganesha Upadhyaya 22b1e0cb50
compute shardExternalShare based on payableSigners overallpercent (#2904) 5 years ago
Daniel Van Der Maden 451d16c14d
Add viewID to block signed content (#2877) 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 2836f0f620
[project] Remove over complicated packages, useless tests, dead functions (#2780) 5 years ago
Rongjian Lan 70a4272fa3
fix block proposal ordering; other offchain commits change (#2761) 5 years ago
Edgar Aroutiounian afeeb69094
[slash] Fix leftover mistake (#2666) 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 a79c85fa8d
[slash] Adjust rate as function of voting power of double-signers rather than % of committee (#2639) 5 years ago
Rongjian Lan 5cd8af2891 Set block reward to flat-rate 28 ONE 5 years ago
Rongjian Lan eb54d32e2c refactor slashing code and fix audit todos 5 years ago
Edgar Aroutiounian 2b578c0a58
[log] Data epoch & blocknum to subset of ds logs (#2547) 5 years ago
Edgar Aroutiounian b54a17c2e4
[log] Add dedicated data science logger (#2527) 5 years ago
Rongjian Lan 2f15cd5da8
Check signing threshold and set EPoS status only at last epoch (#2533) 5 years ago
Rongjian Lan 22de132fd1
Add shard config for harmony/external voting power (#2517) 5 years ago
Rongjian Lan c237a18b6f Add shard config for harmony/external voting power 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 71361da6bd
more audit todos and fixes (#2489) 5 years ago
Rongjian Lan 84ffbcfb7a
[audit] Various fixes and todos for auditing; add log for collect rewards (#2448) 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
Rongjian Lan 9b8cd1bb2a
[auditing] Add more logs; checks before processing staking txns (#2391) 5 years ago
Edgar Aroutiounian 1564aacb84
[availability] Adjust design to set active field on each block (#2372) 5 years ago
Ganesha Upadhyaya ae362c24c6
multi-bls key support (#2249) 5 years ago
Edgar Aroutiounian 46a374e6d8
[project] Never hold reference to global logger (#2365) 5 years ago
flicker-harmony aadeae045c Refactor explorer service and add addresses fetch from db 5 years ago
Edgar Aroutiounian 2e27e1b845
[availability] Count availability for shard chain, more log, remove error of div by zero as error condition (#2342) 5 years ago
Edgar Aroutiounian edaf12cdf5
[consensus][availability] Remove mistake of setting counters to 0, re… (#2340) 5 years ago
Edgar Aroutiounian efd6a47b8a
[availabililty] Move when reset of counters occurs, more log on bumping sign counts, remove leftover test… (#2339) 5 years ago
Edgar Aroutiounian c4d744e376
[double-sign] Provide proof of double sign in slash record sent to beaconchain (#2253) 5 years ago
Rongjian Lan bbab20442c
Change active to elected for validator status (#2320) 5 years ago
Edgar Aroutiounian e9b45171ba
[rpc][quorum] Expose SuperCommittee network wide RPC (#2273) 5 years ago
Edgar Aroutiounian 801b4b83e2
[slash][consensus] Notice double sign & broadcast, factor out tech debt of consensus (#2152) 5 years ago