Commit Graph

27 Commits (3232239c22eab618e405b63923c854557588bacb)

Author SHA1 Message Date
Rongjian Lan ea6b76e1b3 Add State struct in Block and populate them in state block 6 years ago
Minh Doan 10c9acc8f6 fix error msg: composite literal uses unkeyed fields 6 years ago
Rongjian Lan 812df64b3b Add transaction signature; Add signing process; Integrate with Consensus and Verification process 6 years ago
Rongjian Lan b046208abb Add dummy signature field in transaction 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 5ad778781e fixed null outpoint issue; make outpoint.index uint32. 6 years ago
Richard Liu 09286bb82a add outpoint 6 years ago
Rongjian Lan 44518d8c35 Add unlock to commit for cross shard tx 7 years ago
Rongjian Lan ff3270d197 Put crossShard tx proofs directly inside Transaction object 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 2ddd32882c Add ShardId into the revelant data structures: block, UTXO etc. 7 years ago
Minh Doan d205f5dbb3 fix some comments 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 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 4c11a13d95 Add blockchain/utxopool to node struct 7 years ago
Minh Doan 6a48a4d810 decouple CreateBlockchain and UTXOPool into different methods 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
Minh Doan c7ff14af3d fix blockchain_test 7 years ago
Minh Doan 83240f3506 add tests and remove UTXOPool 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
Minh Doan 3d5c33ee14 add CreateBlockchain 7 years ago
Minh Doan 32d1f71ac1 fix import 7 years ago
Minh Doan 800cdb575d fix indetation 7 years ago
Minh Doan 73b873b90b convert indentation and add vscode settings 7 years ago
Minh Doan 37ac634c0a refactor transaction and add logic of FindUTXO and FindSpendableOutputs and FindUnspentTransactions 7 years ago
Minh Doan 3a49816e6a modify Transaction data structure 7 years ago
Minh Doan 5e7ac26db9 temporary commit 7 years ago
Minh Doan 8154d4f281 add data structure for blockchain 7 years ago