Commit Graph

38 Commits (e56400452bd66ae7512a5336a415cf760d927bc0)

Author SHA1 Message Date
Rongjian Lan 812df64b3b Add transaction signature; Add signing process; Integrate with Consensus and Verification process 6 years ago
Rongjian Lan 8c167c1d14 Migrate address from string to [20]byte 6 years ago
Richard Liu 932852b674 rename 6 years ago
Richard Liu 6c5c207d4d update utxo types. 6 years ago
Richard Liu 5ad778781e fixed null outpoint issue; make outpoint.index uint32. 6 years ago
Richard Liu 09286bb82a add outpoint 6 years ago
Minh Doan 665a0b9a38 remove snapshot and replace by GetSizeInByteOfUtxoMap 6 years ago
Minh Doan f0fd5e6180 clean up work 6 years ago
Rongjian Lan 1f7e6e7ca7 Add more comments for client related codes 6 years ago
Rongjian Lan d9ff51d534 Remove some legacy lines and fix some comments for consensus and blocks 7 years ago
Rongjian Lan c3f65d4402 Fix utxopool udpate bug for invalid cross shard tx (finally the consensus is stable with 30% cross shard tx); reset consensus before retry 7 years ago
Rongjian Lan 0b4c365b2f Get snapshot of utxo when reporting to avoid concurrency issue; disable crossShard for now 7 years ago
Rongjian Lan 745755699e Fix cross shard tx bug; add utxo pool sync for client to keep up with the leaders 7 years ago
Rongjian Lan bb5518c852 Modify utxo update code to support cross tx unlock-to-abort 7 years ago
Rongjian Lan 44518d8c35 Add unlock to commit for cross shard tx 7 years ago
Rongjian Lan f291f6a0bc Fix cross tx proof bugs; now the unlock-to-commit/abort message finally reaches leaders 7 years ago
Rongjian Lan 399374592a Add logic to create cross shard Tx, and collect proofs in the tx generator 7 years ago
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 589b15a2ee Refactor utxoPool verification/update methods 7 years ago
Rongjian Lan 4a16c007e7 Fine tune consensus throughput locally: one shard / 300 nodes / 800 tps 7 years ago
Minh Doan be98b74e61 add another cleanup 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
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