Commit Graph

482 Commits (1a1caa422dd2941e889300c9ce00fbf92fddc577)

Author SHA1 Message Date
Minh Doan c1368df687 add sync logic 6 years ago
Minh Doan a89e59300a add synchronized queue for syncing task 6 years ago
Minh Doan e7cb022721 add logic for syncing 6 years ago
Minh Doan 428387f34a clean up 6 years ago
Minh Doan 93a7f92136 add more wires for syncing. add flag node_sync to assume the new node will start with sync first. also fix some code of identitychain which make some copies of struct containing Mutex 6 years ago
ak 4f7790c5ec IDC (almost there) 6 years ago
ak c2eb7020c1 working pow 6 years ago
ak 6632cea6de working pow 6 years ago
Rongjian Lan 945f25c65b Update utxo with state block; refactor utxo counter func 6 years ago
Minh Doan 12f31bcbef init blockSyncing and doneSyncing channel 6 years ago
Minh Doan b7f0d7765d add logic for waiting for syncing finish 6 years ago
Rongjian Lan 514262be2e explicitly return tx verification error and increase block tx num 6 years ago
ak 9d597754d2 WIP commit 6 years ago
Minh Doan d75bdc5566 fix small thing by good practice 6 years ago
Rongjian Lan f93b1eecb9 Add wallet transfer functionality; Add transaction serialization; Refactor wallet utitlity and reuse wallet server; Bytes util; utxoPool crossShard check 6 years ago
Rongjian Lan d4f1654c5b Add FetchUtxoMessage and corresponding messaging code 6 years ago
Rongjian Lan 54a6def5ac Add import private key and check balance functionalities to wallet 6 years ago
Minh Doan 6cd04086f6 refactor db init 6 years ago
Minh Doan 9e645f186e enable leveldb into blockchain 6 years ago
Rongjian Lan 7cfa59eddf Fix some mismatch between addresses for benchmark 6 years ago
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 7ad223816f update for github.com folder structure 6 years ago
Minh Doan 7f3c717092 return consensus pointer instead a copy which contains mutex 6 years ago
Minh Doan 7ebcc89cdb refactor to avoid returning a copy of a struct containing lock 6 years ago
Minh Doan 68f344ade5 refactor node module 6 years ago
Rongjian Lan c8627fa32a Refactor tx generator methods and add more comments 7 years ago
Rongjian Lan 9dddde559b Add block sync function for leader to send new blocks to client 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
Minh Doan 26f31e5fbe add todo and add golint script 7 years ago
Rongjian Lan 4efc1bfcfa Add client directory for client related codes; refactor message protocol files 7 years ago
Rongjian Lan 061a5bbdc6 Add message protocol for proof-of-accept/reject 7 years ago
Rongjian Lan 84b829917e Add node server for tx generator client 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 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
Rongjian Lan 600ad2b5e4 Add test for countNumTransactionsInBlockchain() 7 years ago
Rongjian Lan 71d1a819a4 Correct code format, add numTxProcessed stats reporting 7 years ago
Rongjian Lan 1b3ceccf2d Synchronization bug fixes on consensus 7 years ago
Minh Doan 31f111ed5d polish code 7 years ago
Minh Doan ceb19ed8ea fix comments and polish 7 years ago
Rongjian Lan cb549d9693 Add more comments to new code; make prevHash 32 byte array 7 years ago
Rongjian Lan b1d2eaa52b Add valid transaction simulator based on current utxo pool 7 years ago
Rongjian Lan d5214f3b3d Add logic to select transactions from pendingTxs using UTXO pool 7 years ago
Rongjian Lan f09332d5b5 Synchronize the logic for pendingTransactions, and use utxoPool's tx selection logic 7 years ago
Rongjian Lan 91258d9b05 Separate node handler logic from node.go 7 years ago
Rongjian Lan 4c11a13d95 Add blockchain/utxopool to node struct 7 years ago
Richard Liu 5096238128 update logs 7 years ago
Richard Liu 91ea18228f added log package 7 years ago
Rongjian Lan 95ca931431 Add logic to get the requested transactions 7 years ago