Commit Graph

404 Commits (dev)

Author SHA1 Message Date
Minh Doan 04f6435ebf fix comment and fix lint 6 years ago
Minh Doan 362be9d788 change nodeId to nodeID 6 years ago
Minh Doan 37a9d84216 change FINISHED to Finished 6 years ago
Minh Doan bae896c944 fix comments and fix ALL_CAPS lint 6 years ago
Rongjian Lan d997b4271f Lower the threshold from 1/1 to 2/3 6 years ago
Minh Doan e7cb022721 add logic for syncing 6 years ago
Minh Doan 5216f08cbe add data structure for consensus 6 years ago
Minh Doan 9537a04fb5 change ReadySignal into a good practice 6 years ago
Richard Liu 8d43e64a1f report key. 6 years ago
Rongjian Lan 94db55e780 Add final challenge and final response round which finish the commit phase of PBFT 6 years ago
Rongjian Lan ab091e9881 Add final commit and final challenge messaging process and temporarily disable block wrap-up process 6 years ago
Rongjian Lan 09676aafb9 Add collective signature verification and temporarily bump the sig threshold to every nodes 6 years ago
Rongjian Lan 812df64b3b Add transaction signature; Add signing process; Integrate with Consensus and Verification process 6 years ago
Rongjian Lan d4229873d2 Refactor crypto utils into pki and sha256 file 6 years ago
Richard Liu 7ad223816f update for github.com folder structure 6 years ago
Rongjian Lan 762b6ec219 Aggregate responses and create schnorr multi-sig 6 years ago
Rongjian Lan 4e2e26261a Leader verifies validator's signatures and collect responses by node id 6 years ago
Rongjian Lan 8782c71697 Generate real response in validator node; correct the commitment threshold as now leader is also part of the bft 6 years ago
Rongjian Lan 7fe3daf0e3 Refactor into utility that generates a unique Id from Peer 6 years ago
Rongjian Lan 189f0e8bb1 Use map<nodeId, validatorPeer> instead of array; verify validator's signature in commit message processing 6 years ago
Rongjian Lan a28c7898e5 Check the leader's signature when receiving announcement; assign deterministic private key to each node based on their ip and port 6 years ago
Rongjian Lan d0f51b3cbb Fix import path issue for schnorr package 6 years ago
Rongjian Lan fe645f16d4 Use schnorr signature for signing the messages 6 years ago
Rongjian Lan b32dfa211b Rename Curve to Ed25519Curve for clarity 6 years ago
Rongjian Lan c03c08d4d9 Implement the crypto commitment for phase-announce and phase-commit in cosi 6 years ago
Rongjian Lan 86093d6ffc Add real public and private key into Peer object; initialize schnorr multi-signature bitmap in the consensus 6 years ago
Rongjian Lan 3ceab2168d Create the secret and real commitment message for validator commit 6 years ago
Rongjian Lan f783dbb47b Refactor consensus and client's message.go file 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 7f3c717092 return consensus pointer instead a copy which contains mutex 6 years ago
Minh Doan 35dda18b4d add shard id in tps report 6 years ago
Rongjian Lan 605b1730d8 Pull logging util func into utils/metrics.go; add more comments for consensus 6 years ago
Rongjian Lan da45cdeef5 Fix the broadcast bug introduced by for loop deferencing to the last element (for loop variable is just a temp pointer to the element) 6 years ago
Minh Doan 91a4ef0dab add todo 7 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 7 years ago
Rongjian Lan 4efc1bfcfa Add client directory for client related codes; refactor message protocol files 7 years ago
Minh Doan 8e36f57fd5 fix typo 7 years ago
Rongjian Lan 1b3ceccf2d Synchronization bug fixes on consensus 7 years ago
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 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
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 c7d9c6843a Add shardId into consensus and rename ipList file into config file 7 years ago