Commit Graph

877 Commits (e56ee2e6891363dc18d642ab7f46342f280bafa4)

Author SHA1 Message Date
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 89ec5ac541 [reward] Remove Write from ChainReader 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 64d4db80c5 fix lint 5 years ago
Rongjian Lan 178fbde94c Fix bls pub key address leader lookup bug 5 years ago
Eugene Kim 6ba20a4ba4 Fix a nil dereference (copy-and-paste glitch) 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
Edgar Aroutiounian 74a4dd0906
[block][staking] Add staking transaction as input to hash of merkle root (#1928) 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
Ganesha Upadhyaya 72dfc3cbdb fixing the staking type not found bug for collect rewards 5 years ago
Rongjian Lan 1423953ffa Fix no bls key issue; fix sanity check potential issue; Preempty uesless collectReward tx 5 years ago
Rongjian Lan 8b00ed039b Fix lint 5 years ago
Rongjian Lan 258430c5c5 Fix staking txns reader 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
Chao Ma d165ca090e fix crosslink epoch calculation; remove first block comparison by using first epoch comparison 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
Rongjian Lan b8fa1b4d94 Fix block rewards; Add staking signer check; Allow 0 MaxTotalDelegation (#1887) 5 years ago
Rongjian Lan 842ced116a Fix cross-shard verification during staking epoch change 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
Rongjian Lan d5cdd62c52 Fix lint 5 years ago
Rongjian Lan 34dcb28bac Remove local code 5 years ago
Rongjian Lan c6e0fc68fa Add voting power and effective stake into RPC 5 years ago
Rongjian Lan 7291f8b248 Fix staking epoch transition 5 years ago
Rongjian Lan d9900b44df Fix staking epoch logic 5 years ago
Rongjian Lan e79ba5fe88 Make shard chain follow beacon chain's epoch after stakingEpoch 5 years ago
Rongjian Lan 9070421462 Refactor shard compute logic and make local test friendly for staking 5 years ago
Rongjian Lan b1a6c77f6b Remove unncessary api 5 years ago