Commit Graph

187 Commits (466e3e35ad392fb8f826d9a970e0830ce2f17bfa)

Author SHA1 Message Date
Minh Doan ef2521e068 refactor: changing constant from ALLCAPS to format of gofmt 6 years ago
Minh Doan bae896c944 fix comments and fix ALL_CAPS lint 6 years ago
Minh Doan 9270730f76 fix comments. change constant TRANSACTION to Transaction 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
Richard Liu dbfd6abdff clean. 6 years ago
Richard Liu 7db609e9a8 add sign 6 years ago
Rongjian Lan cd9a17eaa4 Log invalid transactions discarded before creating each new block 6 years ago
Rongjian Lan 47d8aba30f selectedTxs included cross-shard txs, so this need to be changed 6 years ago
Rongjian Lan d288e9b805 We are going 20k 6 years ago
Minh Doan 15db2fdb81 min # of txs per block 6 years ago
Rongjian Lan 67b160901b Add more logs and avoid validator broadcast when not necessary 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 44c2c00378 fix the bugs in multicaset 6 years ago
Minh Doan 7c6aad17fa disable multicast 6 years ago
Minh Doan 0d1b847970 add multi boardcast improvement 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 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