Commit Graph

287 Commits (9796df0dd90b27d45637418a7de3895a9c5d7cd7)

Author SHA1 Message Date
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 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
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
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 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
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 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
Rongjian Lan 272a4e9067 Add report on avg tx size in bytes 6 years ago
Minh Doan 665a0b9a38 remove snapshot and replace by GetSizeInByteOfUtxoMap 6 years ago
Minh Doan bf0e4fd1b3 remove NodeMessageType EXPERIMENT 6 years ago
Rongjian Lan d9ff51d534 Remove some legacy lines and fix some comments for consensus and blocks 6 years ago
Rongjian Lan c3f65d4402 Fix utxopool udpate bug for invalid cross shard tx (finally the consensus is stable with 30% cross shard tx); reset consensus before retry 6 years ago
Rongjian Lan 0b4c365b2f Get snapshot of utxo when reporting to avoid concurrency issue; disable crossShard for now 6 years ago
Rongjian Lan 9dddde559b Add block sync function for leader to send new blocks to client 6 years ago
Rongjian Lan 745755699e Fix cross shard tx bug; add utxo pool sync for client to keep up with the leaders 6 years ago
Rongjian Lan 44518d8c35 Add unlock to commit for cross shard tx 6 years ago
Rongjian Lan ff3270d197 Put crossShard tx proofs directly inside Transaction object 6 years ago
Rongjian Lan f291f6a0bc Fix cross tx proof bugs; now the unlock-to-commit/abort message finally reaches leaders 6 years ago
Rongjian Lan 4fa3555ac9 Add unlock message and logic to send the message to leaders 6 years ago
Rongjian Lan ccff95bab3 Add serialization of proof list and let leader to send it to client 6 years ago
Rongjian Lan 4efc1bfcfa Add client directory for client related codes; refactor message protocol files 6 years ago
Rongjian Lan 061a5bbdc6 Add message protocol for proof-of-accept/reject 6 years ago
Rongjian Lan b5dcd76831 Add cross shard TX proof and the logic to keep them for proof-of-accept or proof-of-reject 6 years ago
Rongjian Lan 9baa7c8503 Add lock on UTXO pool operations; fix validator catch up logic 6 years ago
Rongjian Lan 2ddd32882c Add ShardId into the revelant data structures: block, UTXO etc. 6 years ago
Rongjian Lan 4a16c007e7 Fine tune consensus throughput locally: one shard / 300 nodes / 800 tps 6 years ago
Rongjian Lan 71d1a819a4 Correct code format, add numTxProcessed stats reporting 6 years ago
Rongjian Lan b9cd467460 Add consensus retry so the consensus process won't get stuck forever 6 years ago
Rongjian Lan 1b3ceccf2d Synchronization bug fixes on consensus 6 years ago