Commit Graph

240 Commits (55add2d52218ad8f205d561e98a5c28c16397549)

Author SHA1 Message Date
Edgar Aroutiounian 6435f4060c
[availability] Implement inactive toggle for validators that miss threshold of signing required; (66%) of epoch (#2077) 5 years ago
Rongjian Lan eca9ca51ad
Fix mutex misuse in pending crosslinks (#2094) 5 years ago
Rongjian Lan 55664be681
Add the cross-shard fixes from s3 into master (#2105) 5 years ago
Rongjian Lan e7cd387677 Fix create validator balance reduce bug; Add LastEpochInCommittee (#2029) 5 years ago
Rongjian Lan 931601c773 Fix shard state epoch number after staking 5 years ago
Rongjian Lan 0e7f01edfe Fix ecdsa lookup bug 5 years ago
Edgar Aroutiounian 8df38a0a41
[reward] Make reward be 0 in preStaking era (#1991) 5 years ago
Rongjian Lan 290cc51b72 fix crosslink bugs 5 years ago
Rongjian Lan 595b3e51af Fix accumulator init issue and add one-off fix for testnet 5 years ago
Eugene Kim 4a326b33e4 Store CX receipts in blocks in CrossTxEpoch 5 years ago
Eugene Kim ef389aa9b5 IsCrossTx → AcceptsCrossTx 5 years ago
chao 05dd350906 address comments 5 years ago
Edgar Aroutiounian c8c9c8d594
[votingpower] Extend vote power snapshot, use existing roster data structure (#1935) 5 years ago
chao 44a8e2a376 add shardState verification 5 years ago
Rongjian Lan 1a119186b5 make uptime accounting not failing normal consensus 5 years ago
Rongjian Lan 117d0f5702 Fix uptime account code 5 years ago
Edgar Aroutiounian 556f3ff547 [reward] Add branch on payout in accumulator reward 5 years ago
Edgar Aroutiounian 2bf31d892a [reward] Explicitly record block-reward accumulator from beginning of time 5 years ago
Edgar Aroutiounian da3fe98c13 [reward] Bump up cache limit on block accum 5 years ago
Edgar Aroutiounian 161bcb0edb [reward] Write to cache only after db write success 5 years ago
Edgar Aroutiounian f828ef67b3 [reward] Write to cache only after write to db 5 years ago
Edgar Aroutiounian 7e83017fca [reward] UpdateBlockReward does not need cache usage 5 years ago
Edgar Aroutiounian 575b0867d0 [reward] Put into cache fast 5 years ago
Edgar Aroutiounian a4b3ba33d9 [reward] Use cache proper 5 years ago
Edgar Aroutiounian 2dad5528d6 [reward] Stub out db for in-memory cache 5 years ago
Edgar Aroutiounian 4427b2a805 [reward] Since have invariant on reward payout != nil, remove != nil check 5 years ago
Edgar Aroutiounian 06ca582f16 [reward] Do need Update for accumulator 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 108d01f730 Fix cross link verification and change batch size to 50 5 years ago
Chao Ma a8a977e88c add getECDSAFromCoinbase for leader reward 5 years ago
Rongjian Lan 67f5100e5b Make sure crosslink is verified before proposal 5 years ago
Rongjian Lan f59469b644 Add epoch number in shard state for use of beacon epoch sync 5 years ago
Rongjian Lan 2fd836710f Fix comments 5 years ago
Rongjian Lan 8ae487b7cb Remove txn log 5 years ago
Rongjian Lan 3490c28d74 Add more log 5 years ago
Rongjian Lan 0cf208ce8b Add more log 5 years ago
Rongjian Lan f67c936ab9 Add more log in bad block 5 years ago
Rongjian Lan 3f5eef034d Fix beacon sync rollback bug 5 years ago
Rongjian Lan b240b7533d Many small tweaks 5 years ago
Chao Ma f0f3f201ae deduplicate pending crosslinks when write to local db 5 years ago
Edgar Aroutiounian 35d22ce116
[reward] Add Accumulator of rewards in DB (#1888) 5 years ago
Rongjian Lan b177e00714 move stats account in the correct place 5 years ago
Chao Ma 06940237c1 make DeleteCommittedCrossLinksFromPending faster; fix ContinuesCrossLink bug 5 years ago
chao 338720b2eb fix epoch reading bug; return error in block crosslink verification if crosslink exists; only remove committed crosslink from pending list 5 years ago
chao 3d6e661a5c address comments/issues for crosslinks 5 years ago
Rongjian Lan 1a5757b249 Add full block reward integration; fix staking index bug; add staking txn signer check (#1889) 5 years ago
chao fd9fe64129 add local cache and storage for pending crosslinks 5 years ago
Edgar Aroutiounian aaf289c070
[shard] Wrapper on decoding ShardState (#1886) 5 years ago
chao 87dd2cd2cd Simplified CrossLink structure; 5 years ago
Rongjian Lan 8c4734a319 fix a corner case bug for staking epoch catch up 5 years ago