Commit Graph

628 Commits (27e44c60b06c88d80f2b38664a4121f08dbd8eee)

Author SHA1 Message Date
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 dfe2801750 add blockchainSyncMessage logic 6 years ago
Minh Doan e7cb022721 add logic for syncing 6 years ago
Minh Doan 428387f34a clean up 6 years ago
Rongjian Lan c9a54e1784 Add more logs for aws debugging 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
Rongjian Lan 4031016122 Fix previous miscommit of test code 6 years ago
Rongjian Lan 7859337a9a Increase timeout time for consensus 6 years ago
Rongjian Lan e4c6c303c8 Fix cross shard tx unlocking issue, fix txgen random shardId duplication issue, add some more utility funcs in utxoPool 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 9537a04fb5 change ReadySignal into a good practice 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 c7b63df577 corrected node handler 6 years ago
ak 9d597754d2 WIP commit 6 years ago
Rongjian Lan d0d6715ccd Implement state block verification 6 years ago
Minh Doan d75bdc5566 fix small thing by good practice 6 years ago
Rongjian Lan 17fe3fd35a Change stats reporting to account for state block 6 years ago
Rongjian Lan ea6b76e1b3 Add State struct in Block and populate them in state block 6 years ago
Rongjian Lan c09dc508f3 Add processing after state block consensus 6 years ago
Rongjian Lan 3919360ef6 Wire state block creation and verificaiton into consensus 6 years ago
Rongjian Lan 80d98946d4 Create state block every 10 tx blocks 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
Minh Doan 92b3929a69 add SYNC messageType 6 years ago
Rongjian Lan 78a46a7ddf Add showBalance functionality to wallet 6 years ago
Rongjian Lan 100bd4da9c Add utxo lookup by addresses 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
Rongjian Lan 94db55e780 Add final challenge and final response round which finish the commit phase of PBFT 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
Rongjian Lan 651af74bf0 Fix bad code from last refactoring 6 years ago
Rongjian Lan 737732150f Refactor node/message.go to proto/node.go, p2p/message.go to p2p.message_reader.go 6 years ago
Rongjian Lan 3d37dae7ca Refactor common folder into proto folder and rename common/message.go into proto/common.go 6 years ago
Rongjian Lan 6a408a2e97 Change COMMITTEE message category to CONSENSUS, which is more understandable 6 years ago
Minh Doan 5f3520ae32 fix minor by previous change of returning pointer 6 years ago
Minh Doan 7f3c717092 return consensus pointer instead a copy which contains mutex 6 years ago
Rongjian Lan 272a4e9067 Add report on avg tx size in bytes 6 years ago
Minh Doan 7ebcc89cdb refactor to avoid returning a copy of a struct containing lock 6 years ago
Minh Doan 665a0b9a38 remove snapshot and replace by GetSizeInByteOfUtxoMap 6 years ago