Commit Graph

37 Commits (0116d2c56650a1af8eba0cf83a025f3746648250)

Author SHA1 Message Date
Rongjian Lan b5dcd76831 Add cross shard TX proof and the logic to keep them for proof-of-accept or proof-of-reject 7 years ago
Rongjian Lan 9baa7c8503 Add lock on UTXO pool operations; fix validator catch up logic 7 years ago
Rongjian Lan 9b5e6df9cb Add cross-shard transaction locking 7 years ago
Rongjian Lan c025c6e411 fix fmt, and add test_before_submit script 7 years ago
Rongjian Lan 589b15a2ee Refactor utxoPool verification/update methods 7 years ago
Rongjian Lan 2ddd32882c Add ShardId into the revelant data structures: block, UTXO etc. 7 years ago
Rongjian Lan 4a16c007e7 Fine tune consensus throughput locally: one shard / 300 nodes / 800 tps 7 years ago
Minh Doan f7dcd3573b add test for cleanup 7 years ago
Minh Doan be98b74e61 add another cleanup 7 years ago
Minh Doan d205f5dbb3 fix some comments 7 years ago
Minh Doan adcf962987 clean up utxopool 7 years ago
Minh Doan 2a05aedbf5 polish code by gofmt 7 years ago
Rongjian Lan cb983ce484 Add transactions num and Ids list to block 7 years ago
Minh Doan 876026f143 add more tests 7 years ago
Rongjian Lan cb549d9693 Add more comments to new code; make prevHash 32 byte array 7 years ago
Rongjian Lan c57fff98b8 Link new block after consensus into blockchain 7 years ago
Rongjian Lan b1d2eaa52b Add valid transaction simulator based on current utxo pool 7 years ago
Rongjian Lan 4c11a13d95 Add blockchain/utxopool to node struct 7 years ago
Minh Doan d47a497265 fix tests 7 years ago
Minh Doan 9ffcc8d16e fix failed build 7 years ago
Richard Liu 105e393169 minor fix 7 years ago
Minh Doan 31472956d5 add verification/selection a set of valid transactions 7 years ago
Minh Doan 3a7f9eb46d add more generic utxo 7 years ago
Minh Doan 6a48a4d810 decouple CreateBlockchain and UTXOPool into different methods 7 years ago
Minh Doan c45ed9439f update utxopool 7 years ago
Minh Doan cf56cdbb0a add and fix tests 7 years ago
Minh Doan d65fb29835 add verify_transactions and update utxo 7 years ago
Minh Doan c358fc754d add data structure for UTXOPool and update verify_new_block 7 years ago
Minh Doan 4129232928 add VerifyNewBlock and its test 7 years ago
Rongjian Lan fca461b766 Clean up legacy code and structure 7 years ago
Minh Doan 9a1d8306c8 add one more test 7 years ago
Minh Doan c936161b89 clean up the test 7 years ago
Minh Doan c7ff14af3d fix blockchain_test 7 years ago
Minh Doan 83240f3506 add tests and remove UTXOPool 7 years ago
Minh Doan b86c836bb5 add blockchain_test 7 years ago
Minh Doan 6ae3954b08 fix tests 7 years ago
Minh Doan 2eb9629202 bundle block blockchain transaction into blockchain packagge. add tests for utils 7 years ago