Commit Graph

1135 Commits (da0b0cef7e60ed6b7a41213590e8bfc3545db58f)

Author SHA1 Message Date
Minh Doan 31f111ed5d polish code 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
Minh Doan ca404d2d71 fix comments and add TODO 7 years ago
Rongjian Lan cb549d9693 Add more comments to new code; make prevHash 32 byte array 7 years ago
Rongjian Lan d5214f3b3d Add logic to select transactions from pendingTxs using UTXO pool 7 years ago
Richard Liu 5096238128 update logs 7 years ago
Richard Liu 91ea18228f added log package 7 years ago
Richard Liu 105e393169 minor fix 7 years ago
Rongjian Lan 6adafcb8c9 Fill in multisig mocks 7 years ago
Rongjian Lan 461b3fa3d1 Refactor message/message.go to common/message.go 7 years ago
Rongjian Lan d771fe7df9 Format existing code according to gofmt 7 years ago
Rongjian Lan 6da4336614 Add sharding config with 2 shard; update tx generator accordingly 7 years ago
Rongjian Lan c7d9c6843a Add shardId into consensus and rename ipList file into config file 7 years ago
Rongjian Lan 4419aa15df Add test for consensus leader/validator 7 years ago
Rongjian Lan ae693698eb Add test for consensus.go 7 years ago
Rongjian Lan c66f7be673 Fix log formating 7 years ago
Rongjian Lan 0498d87059 Add consensus view Id and checks 7 years ago
Minh Doan 271106289e fix comments 7 years ago
Minh Doan 3a7f9eb46d add more generic utxo 7 years ago
Richard Liu a3663106d3 updated log functions 7 years ago
Richard Liu 7bd78e56a2 temp fix for enabling travis 7 years ago
Richard Liu 1e513669e3 temp fix for unblocking build 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
alok 855ed6d603 WIP: adding message to stop running consensus 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 9dc0f9c66d Fill in consensus message structure and send realistic consensus message instead of dummy string 7 years ago
Rongjian Lan 15f8bc607a Scaled consensus to 100 nodes。 7 years ago
Minh Doan 32d1f71ac1 fix import 7 years ago
Minh Doan 73b873b90b convert indentation and add vscode settings 7 years ago
Rongjian Lan 403508f2d1 Two-round consensus finished; change logging to use log package everywhere; limit the visibility of Consensus struct fields 7 years ago
Rongjian Lan 0e66f7147f Add challenge broadcast; put consensus signature in map; refactor consensus init into consensus package 7 years ago
Rongjian Lan c0fd09be05 Refactor consensus code into leader part and validator part 7 years ago
Rongjian Lan 9d721891e8 Fix send_tnx to only send START_CONCENSUS to leader; Add consensus signature threshold counting 7 years ago
Rongjian Lan 493423c2a7 Add more comments, fix type and styling 7 years ago
Rongjian Lan 2225441b17 Add p2p and consensus messaging protocol structure and utility; Add socket connection messaging reading utility; modify send_tnx to send message based on the new protocol 7 years ago
alok b6cff08f2a addressing RJ comments 2 7 years ago
alok 9c46cd45a9 addressing RJ comments 7 years ago
alok 8a2f82a540 Work In Progress 7 years ago
alok 0505d872d5 WIP 7 years ago
Rongjian Lan 3c946be803 Add more comments and clean up code layout 7 years ago
Rongjian Lan 6dba466a5f Add basic skeleton consensus and p2p lib; integrated with benchmark_node.go 7 years ago