Commit Graph

132 Commits (b9af100719c85b27842c2cf8691798de487ab460)

Author SHA1 Message Date
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 2ccc20be2b
Fix slash verify to avoid potential duplicate slashes exploit (#2914) 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 a79c85fa8d
[slash] Adjust rate as function of voting power of double-signers rather than % of committee (#2639) 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
Edgar Aroutiounian cae94683a4
[state][staking][availability] Handle availability only in finalize (#2185) 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
Rongjian Lan e7cd387677 Fix create validator balance reduce bug; Add LastEpochInCommittee (#2029) 5 years ago
chaosma 56dc8e04d8 add debug flag to avoid too much log info in crosslink verification (#2021) 5 years ago
Edgar Aroutiounian 37935bb29f
[engine] Set ShardID Provider in VerifyWithSignature (#2005) 5 years ago
Rongjian Lan 3403395398 Fix undelegation non-pointer modification bug (#2004) 5 years ago
Edgar Aroutiounian f17e76fe1b
[engine] Verify quorum achieved by mask in VerifySeal (#2003) 5 years ago
Edgar Aroutiounian 67f2e4f57f
[log] More log (#1958) 5 years ago
chao 05dd350906 address comments 5 years ago
Rongjian Lan 41509fcbc6 fix bug on undelegate and delegate 5 years ago
chao 44a8e2a376 add shardState verification 5 years ago
Edgar Aroutiounian c30886b1d4 [reward] Do not update state in reward, thread through payout, write payout on each block 5 years ago
Rongjian Lan f59469b644 Add epoch number in shard state for use of beacon epoch sync 5 years ago
Rongjian Lan 842ced116a Fix cross-shard verification during staking epoch change 5 years ago
Rongjian Lan c6e0fc68fa Add voting power and effective stake into RPC 5 years ago
Edgar Aroutiounian 1cf258ee06
[staking][reward] Give out block reward for cross links (#1869) 5 years ago