Commit Graph

92 Commits (da21bd11ec093597d009e7475d1280608f333ee9)

Author SHA1 Message Date
Rongjian Lan 4360503bd3
extend EPoS bound to 35% (#3714) 4 years ago
Rongjian Lan c64b90916d Avoid repeated state creation in validator reading 4 years ago
Rongjian Lan a03a17ce45 clean up and todos 4 years ago
Rongjian Lan 2bf97dd376 return error for invalid address parsing 4 years ago
Rongjian Lan 38bb234ebc Reuse old shard state if no validator is elected 4 years ago
Rongjian Lan 9d95b9844d rename ChainReader to Blockchain 4 years ago
Rongjian Lan 611448a0a1 pipelining wireframe 4 years ago
Rongjian Lan a354b93676
Optimize bls Mask infra to avoid loops (#3243) 4 years ago
Rongjian Lan 6029ba5cf9
Remove all wrong usage of singlr flight; also fix voting power cache key (#3229) 4 years ago
Rongjian Lan bdd2a58e01
Remove expensive bls key serialization code (#3217) 4 years ago
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 dbb0ed2f53
Bind public keys into private key wrapper (#3208) 4 years ago
Rongjian Lan 67d77c3965
Refactor bls public key into a wrapper (#3203) 4 years ago
Rongjian Lan 68ab784d63
Refactor quorum calculation and signature submission process (#3201) 4 years ago
Rongjian Lan 7483ea18fc Make EPoS compute work with correct epoch shard config 4 years ago
Rongjian Lan 211ed79888
Avoid duplicate bls as harmony nodes; Fix epoch gap issue (#2964) 5 years ago
Rongjian Lan 3d42325d98
Fix both total stake counting and delegation index for validator itself (#2952) 5 years ago
Rongjian Lan db8f1a05b9
Optimize delegation reward distribution with caching (#2839) 5 years ago
Edgar Aroutiounian 25c1d8f332
[effective] Hold onto raw stake used per slot purchase as well (#2832) 5 years ago
Edgar Aroutiounian 2836f0f620
[project] Remove over complicated packages, useless tests, dead functions (#2780) 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 f8cbd880bb
[project] Bls -> BLS & remove dead Stake solidity contract (#2652) 5 years ago
Edgar Aroutiounian f8d60f3cfa
[assignment] Add StakePerKey as feature request of epos candidates (#2641) 5 years ago
Rongjian Lan 5d91e28d77 Fix the validator auction eligibility condition 5 years ago
Rongjian Lan eb54d32e2c refactor slashing code and fix audit todos 5 years ago
Rongjian Lan 4e150779d3 Fix APR's nill header issue; Compute APR based on last epoch 5 years ago
Edgar Aroutiounian 49eca7903a
[shard] singleflight on committees bls public keys (#2546) 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
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
Edgar Aroutiounian 2baab4864c
[staking][validation][protocol] (#2396) 5 years ago
Edgar Aroutiounian 8e15daf7e2
[project][rpc][log][config] OSTN improvements (#2420) 5 years ago
Edgar Aroutiounian f7776e8526
Add more log for committee compute (#2366) (#2367) 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 c4d744e376
[double-sign] Provide proof of double sign in slash record sent to beaconchain (#2253) 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 44c5704fc3
[slash][quorum][consensus] Extend existing data structures for slashing needs (#2148) 5 years ago
Rongjian Lan e7cd387677 Fix create validator balance reduce bug; Add LastEpochInCommittee (#2029) 5 years ago
Edgar Aroutiounian dd5e1f1634
[committee] Fix too much hmy node assignment mistake (#1994) 5 years ago
Edgar Aroutiounian a85a7d4a88
[effective] Flatten map to slice, then sort (#1960) 5 years ago
Edgar Aroutiounian 67f2e4f57f
[log] More log (#1958) 5 years ago
Edgar Aroutiounian 44610ab54f [committee] Log & error if try to Compute a past epoch relative to header epoch 5 years ago
Ganesha Upadhyaya dafe876746 minor fix and lint checks 5 years ago
Ganesha Upadhyaya b6ad632dc1 changing from string to BlsSignature type 5 years ago