Commit Graph

193 Commits (main)

Author SHA1 Message Date
Rongjian Lan c64b90916d Avoid repeated state creation in validator reading 4 years ago
Jacky Wang 2d70b2adab
[engine] added additional cache epochCtxCache for engineImpl, also removed shardID in engineImpl (since it's redundant with chainReader.ShardID()) 4 years ago
Jacky Wang 38b30dc36e
[consensus] use verifyHeader signature in onCommitted 4 years ago
Jacky Wang cfb71007b9
[sync] fix error of cross-shard transaction 4 years ago
Jacky Wang d4ae4fb1a6
[sync] added commit sig verification logic to legacy sync 4 years ago
Jacky Wang cd50682097
[engine][stream] updated engine VerifyHeaderWithSignature and fix downloader test 4 years ago
Rongjian Lan d7b968e579 disable early unlock of tokens 4 years ago
Leo Chen db9d239732 [log] print out delegation in debug level 4 years ago
Rongjian Lan 6ee2e5d143
add lastcommit sig verification in leader (#3536) 4 years ago
Daniel Van Der Maden 94bf414083
Make token supply related fns more accurate (#3509) 4 years ago
Rongjian Lan 9381b95cdc
Remove special eth txn in block and block proposal logic. (#3496) 4 years ago
Rongjian Lan e5252cf159
Add new block structure for eth compatible transactions (#3491) 4 years ago
Rongjian Lan 60e42232a9
Change blocks per epoch for testnet. (#3472) 4 years ago
Rongjian Lan d8e509cbd3
Add 3s block time and change of block reward (#3469) 4 years ago
Rongjian Lan 36fd9dcb1e make commit sig timeout longer, also return early for onCommit 4 years ago
Rongjian Lan 8d878e575d Fix viewID in block proposal 4 years ago
Rongjian Lan 0029ced6b2 Add constant for timeouts 4 years ago
Rongjian Lan 41c5b42516 make block proposing timing aligned with pipelining 4 years ago
Rongjian Lan 7c9a2a2f3b more refactors; add logic to update commit sigs 4 years ago
Rongjian Lan 611448a0a1 pipelining wireframe 4 years ago
Rongjian Lan af8fe283db Add more comments and shorten timeout 4 years ago
Daniel Van Der Maden b088d6dc77
Rosetta Implementation Cleanup (Stage 3 of Node API Overhaul) (#3390) 4 years ago
Rongjian Lan 0fdea5b791 expose more details about block reward error 4 years ago
Rongjian Lan 6845775078 Make block proposal async and receiving last commit sig through channel 4 years ago
Daniel Van Der Maden e74ab0bc0a
Rosetta Implementation - pt2 FIX2 (Stage 3.2 of Node API Overhaul) (#3338) 4 years ago
Rongjian Lan 23fc4486ae
Add one-off fork for testnet adjusted reward (#3302) 4 years ago
Rongjian Lan f2fa88a188
add support for redelegation and bring back 7 epoch locking time (#3296) 4 years ago
Rongjian Lan 43d0696505 Add 5 seconds block time and slot increase epoch 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 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 67d77c3965
Refactor bls public key into a wrapper (#3203) 4 years ago
Leo Chen 5c1cc8232c
Merge master to t3 0523 (#3085) 5 years ago
Leo Chen 72281aff09 fix nil pointer crash 5 years ago
Rongjian Lan 400175b05f
Add quick unlock feature at epoch 190 (#3086) 5 years ago
Leo Chen 83dc18e7f1 fix nil pointer crash 5 years ago
Rongjian Lan e0bb1befbf Add more log info 5 years ago
Rongjian Lan 2538a85f5c add nil check on getHeader 5 years ago
Rongjian Lan b8ab786244
add nil check on getHeader (#3030) 5 years ago
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
Ganesha Upadhyaya ac977cfd9d
fix signers share computation to use only non-harmony nodes (#3011) 5 years ago
Ganesha Upadhyaya 9f9223b50a
fix signers share computation to use only non-harmony nodes (#3008) 5 years ago
Rongjian Lan 2ccc20be2b
Fix slash verify to avoid potential duplicate slashes exploit (#2914) 5 years ago
Ganesha Upadhyaya 22b1e0cb50
compute shardExternalShare based on payableSigners overallpercent (#2904) 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