Commit Graph

15 Commits (7eff03f52116586d6e0d7788a8ed46211ceb311e)

Author SHA1 Message Date
Minh Doan d205f5dbb3 fix some comments 6 years ago
Minh Doan 2a05aedbf5 polish code by gofmt 6 years ago
Rongjian Lan cb983ce484 Add transactions num and Ids list to block 6 years ago
Rongjian Lan cb549d9693 Add more comments to new code; make prevHash 32 byte array 6 years ago
Rongjian Lan c57fff98b8 Link new block after consensus into blockchain 6 years ago
Rongjian Lan 4c11a13d95 Add blockchain/utxopool to node struct 6 years ago
Minh Doan 6a48a4d810 decouple CreateBlockchain and UTXOPool into different methods 6 years ago
Minh Doan cf56cdbb0a add and fix tests 6 years ago
Minh Doan d65fb29835 add verify_transactions and update utxo 6 years ago
Minh Doan c358fc754d add data structure for UTXOPool and update verify_new_block 6 years ago
Minh Doan 4129232928 add VerifyNewBlock and its test 6 years ago
Minh Doan c7ff14af3d fix blockchain_test 6 years ago
Minh Doan 83240f3506 add tests and remove UTXOPool 6 years ago
Minh Doan 6ae3954b08 fix tests 6 years ago
Minh Doan 2eb9629202 bundle block blockchain transaction into blockchain packagge. add tests for utils 6 years ago
Minh Doan 3d5c33ee14 add CreateBlockchain 6 years ago
Minh Doan 32d1f71ac1 fix import 6 years ago
Minh Doan 800cdb575d fix indetation 6 years ago
Minh Doan 73b873b90b convert indentation and add vscode settings 6 years ago
Minh Doan 37ac634c0a refactor transaction and add logic of FindUTXO and FindSpendableOutputs and FindUnspentTransactions 6 years ago
Minh Doan 3a49816e6a modify Transaction data structure 6 years ago
Minh Doan 5e7ac26db9 temporary commit 6 years ago
Minh Doan 8154d4f281 add data structure for blockchain 7 years ago