Commit Graph

42 Commits (7b37717e7e17de2477b81ad6d4cbfa59f74491ec)

Author SHA1 Message Date
Minh Doan 7094d5d530 make sure syncing package can keep syncing in case the new hashes are updated 6 years ago
Minh Doan 36382f5074 add working version of client and server 6 years ago
Leo Chen 2a602db9b0 fix the build after rename the repo to harmony-one 6 years ago
Minh Doan e6e4e4a7dd cleaning up code 6 years ago
Minh Doan 0e34dcf448 fix a lot of basic mistakes. See https://docs.google.com/document/d/1eIuVFnRra8Ggnj5zSTcGLn9iXGwHEdOHGC6-gHvvuGc 6 years ago
Minh Doan 29b3281d4a fix lint, now 138 left 6 years ago
Minh Doan 9f9607f5c5 change txId to txID 6 years ago
Minh Doan 7513a79c32 change shardId to shardID, and ShardId to ShardID 6 years ago
Minh Doan 061d8e2f7f fix comments on blockchain and transaction 6 years ago
Rongjian Lan d288e9b805 We are going 20k 6 years ago
Minh Doan a89e59300a add synchronized queue for syncing task 6 years ago
Minh Doan 98345d281a add find block with previous blockhash 6 years ago
Minh Doan 665a427100 modify DeserializeBlock 6 years ago
Minh Doan bf7b94e832 clean up 6 years ago
Minh Doan ef46b60e05 add test for gob encoding 6 years ago
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