Commit Graph

242 Commits (26dbb8d9df0778142c4a5b978efae12cb70a49e0)

Author SHA1 Message Date
Rongjian Lan 41d2c4a6b2 Fix typo 5 years ago
Rongjian Lan e86f25a5b9 Do not propose new block if I am not the leader 5 years ago
Rongjian Lan 6dbfcf1d65 remove debug code 5 years ago
Rongjian Lan 2c9f2135cd Reset tx pool when there is a new block 5 years ago
Rongjian Lan d21ce08309 Use TxPool for worker's transaction proposal 5 years ago
chao 99ab46c6ef fix block encoding/decoding issue for blockV2 and headerV3 5 years ago
chao 1ee2ab5866 debugging 5 years ago
flicker-harmony a90968d379 Replace ethereum log with zerolog and some ctxerrors 5 years ago
chao 89ef7317ff add commitTransaction code for staking 5 years ago
chaosma 942456f564 Staking part2 (#1755) 5 years ago
chao 0c020d8f6a add staking transaction field in v2 body; add v3 header for future fork 5 years ago
Edgar Aroutiounian 97efce2766
Further progress on staking (#1709) 5 years ago
Edgar Aroutiounian 1297623cfe
Staking dev cycle (#1689) 5 years ago
chao 4551a97ce2 cleanup pendingCXReceipts map before add items back; change MustBech32 to Bech32 to avoid potential panic 5 years ago
Rongjian Lan d659a1b952 remove legacy staking code 5 years ago
Rongjian Lan b3df7e1fa6 Add staking transaction struct and handler logic 5 years ago
chao 8aa0fff672 change pending cx receipt key to be shardID-blockNum combination 5 years ago
chao 6914ea9022 avoid duplicate pending receipts to protect memory overflow 5 years ago
Rongjian Lan 19b1c03888 Refactor shard state related func and avoid recomputing shard state unnecessarily 5 years ago
Rongjian Lan 8376c2a3a0 Add all cross-shard txn fork checks 5 years ago
Rongjian Lan 9361fb6e77 remove cross link error log 5 years ago
Dennis Won 479c9ad60f consolidate and use block validator functions properly 5 years ago
chao d0856e5af9 add ToShardID verification 5 years ago
chao 39809b9027 add upper limit on incoming receipts 5 years ago
chao d624e3c46a remove crosslink checking in cross tx receipt verification 5 years ago
Rongjian Lan 586b6a7822 Fix comments 5 years ago
Eugene Kim 8cc2543c9e Move header fields into private struct; expose them using getters/setters 5 years ago
Eugene Kim d26525af63 shard.ShardState → shard.State to reduce stutter 5 years ago
Eugene Kim b874e65126 Move ShardState et al from ./core/types to ./shard 5 years ago
Rongjian Lan 2d51ba0ee2 Add CrossLink, EIP155, and S3 fork 5 years ago
Dennis Won ab64222db1 enable transaction on mainnet/releasenet 5 years ago
Eugene Kim 30b63fc552 Revert "Merge pull request #1413 from rlan35/cross-shard-rj" 5 years ago
Eugene Kim 69e51f6787 Revert "Merge pull request #1426 from chaosma/master" 5 years ago
Eugene Kim 5f6b340166 Revert "Merge pull request #1437 from chaosma/master" 5 years ago
Eugene Kim 88e4eec625 Revert "Merge pull request #1455 from chaosma/master" 5 years ago
Chao Ma f96def4248 add debug log for CXReceipts 5 years ago
Chao Ma 7ae3d82ea5 add log for CXReceipts 5 years ago
Chao Ma fa45a3d710 add more debug log for crosslink proposal 5 years ago
Rongjian Lan 5f0999d842 Fix work update issue for all networks 5 years ago
chao 7f62c8e57a add crosslink verification for shardID=0 case 5 years ago
chao 99b6e5f438 add crosslink verification for shardID=0 case 5 years ago
chao 5eaeba16cd add crosslink verification for shardID=0 case 5 years ago
chao 68b7c7c4c5 add crosslink verification 5 years ago
chao 1a5bb409e3 fix double spent issue 5 years ago
chao 7b3626ad22 avoid double spent logic added 5 years ago
Chao Ma 285643035d fix conflicts with cross-shard branch 5 years ago
Chao Ma 61abd36725 fix cross shard transaction destination shard not adding balance 5 years ago
chao c5c9356974 add account creation 5 years ago
Rongjian Lan f335e0bb78 Fix cross shard bad block issue 5 years ago
chao d293e406cc fix signature issue for homestead; add balance in destination shard in propose stage 5 years ago