Commit Graph

558 Commits (f62f3dce41d0959f00d4a2572e44c61d118dbf34)

Author SHA1 Message Date
Minh Doan ef2521e068 refactor: changing constant from ALLCAPS to format of gofmt 6 years ago
Minh Doan 9270730f76 fix comments. change constant TRANSACTION to Transaction 6 years ago
Rongjian Lan cd9a17eaa4 Log invalid transactions discarded before creating each new block 6 years ago
Eugene Kim 8ba4f7ac5d Add an exponential back off upon accept failure 6 years ago
Eugene Kim bf44dce3c6 Log error code upon accept failure 6 years ago
Eugene Kim 560cfa8b15 Simplify deferred listener close logic 6 years ago
Eugene Kim 778784c1ec Bail out if net.Listen returns nil listener with no error 6 years ago
Eugene Kim dbc28e6fcf Use net.JoinHostPort() instead of hand-joining 6 years ago
Minh Doan 4328d72652 add self peer to node 6 years ago
Minh Doan 945de9f852 clean up 6 years ago
Minh Doan 1d89e89231 using syncing package instead 6 years ago
Minh Doan 2d46c18170 fix bug 6 years ago
Minh Doan c097113ca5 add sync package 6 years ago
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