Commit Graph

624 Commits (054c3cbb8e798de779a59c87c22877b365b36061)

Author SHA1 Message Date
Rongjian Lan 858dacc244 Fix lint 5 years ago
Rongjian Lan 9ccb8db7a1 Fix build 5 years ago
Rongjian Lan 41509fcbc6 fix bug on undelegate and delegate 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 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