Commit Graph

242 Commits (12e4f13955bced04a0c70721120303f9ebf2b139)

Author SHA1 Message Date
Rongjian Lan 44518d8c35 Add unlock to commit for cross shard tx 7 years ago
Rongjian Lan ff3270d197 Put crossShard tx proofs directly inside Transaction object 7 years ago
Rongjian Lan f291f6a0bc Fix cross tx proof bugs; now the unlock-to-commit/abort message finally reaches leaders 7 years ago
Rongjian Lan 4fa3555ac9 Add unlock message and logic to send the message to leaders 7 years ago
Rongjian Lan ccff95bab3 Add serialization of proof list and let leader to send it to client 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 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 9baa7c8503 Add lock on UTXO pool operations; fix validator catch up logic 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 71d1a819a4 Correct code format, add numTxProcessed stats reporting 7 years ago
Rongjian Lan b9cd467460 Add consensus retry so the consensus process won't get stuck forever 7 years ago
Rongjian Lan 1b3ceccf2d Synchronization bug fixes on consensus 7 years ago
Minh Doan ceb19ed8ea fix comments and polish 7 years ago
Rongjian Lan 3b7edd4710 Add post-consensus processing of blockchain (add new block to blockchain) 7 years ago
Rongjian Lan 3f9bdde12e Implement block verifier for verifying new block 7 years ago
Rongjian Lan de988ef76a Add block verification in validator node; link verification function from Node obj to Consensus obj 7 years ago
Rongjian Lan cb983ce484 Add transactions num and Ids list to block 7 years ago
Rongjian Lan cb549d9693 Add more comments to new code; make prevHash 32 byte array 7 years ago
Rongjian Lan c57fff98b8 Link new block after consensus into blockchain 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
Rongjian Lan bcdb352ae0 Add RequestTransactionsMessage for requesting missing transactions in a node 7 years ago
Rongjian Lan 461b3fa3d1 Refactor message/message.go to common/message.go 7 years ago
Richard Liu a3663106d3 updated log functions 7 years ago
alok 3fb20b4a4a some typos added changes to deploy linux 7 years ago
alok 55113dc0a9 killing consensus 7 years ago
Rongjian Lan d2927374b1 Take out transactions from pending Pool for new block 7 years ago
Rongjian Lan 79adb14279 create channel to send new block to consensus and consensus to signal readiness 7 years ago
Rongjian Lan 4e0b706c0d Correct some comments and variable names 7 years ago
Rongjian Lan f2de27fa32 Add transaction generater program which sends transactions to leaders periodically 7 years ago
Rongjian Lan 0b4d06ce5e add message dir; add msgCategory, msgType in messaging protocol; add node struct as the entry point for messages 7 years ago
Rongjian Lan fca461b766 Clean up legacy code and structure 7 years ago