Commit Graph

360 Commits (96288e7e08309d71a4882daf8601b39a3f49e90d)

Author SHA1 Message Date
Leo Chen 53a5c3c856 HAR-65: support node removal after node is offline 6 years ago
Richard Liu 64230da6ee abstract out 2 versions of p2p 6 years ago
Minh Doan 074d468fe6 fix golint 6 years ago
Leo Chen 0407dc559b HAR-65: send redundant Pong messages to validators 6 years ago
Minh Doan 15fddd608f fix dependencies 6 years ago
Rongjian Lan e7e7772858 Delete temp bft.go and integrate the interface into consensus.go 6 years ago
Leo Chen 76375a2425 HAR-84: golint fix of p2p/peer.go 6 years ago
Leo Chen 2bb8648784 HAR-84: golint fix of utils/singleton 6 years ago
Richard Liu ba47c85faf ip+port => peer; update signature of consensus.New and node.New as preparation for p2p 6 years ago
Leo Chen 44f5e85433 [HAR-83] peer discovery works under account model 6 years ago
Leo Chen fe16532820 use mutex to fix race condtion when updating PublicKeys 6 years ago
Leo Chen 91f804eb13 [HAR-5] Leader populates public keys to all validators 6 years ago
Leo Chen d8f0d504cc fix validatorID not populated to all validator issue 6 years ago
Leo Chen 0de13862e0 set unique validator id for new node 6 years ago
Leo Chen cc62f68b38 fix validators map concurrent write issue 6 years ago
Leo Chen 0da6e48f1e Update publicKeys of consensus object 6 years ago
Leo Chen 676785fa36 [HAR-5] leader won't start consensus if not enough validators 6 years ago
Leo Chen 4c4e1c2fb3 Add ping/pong message handlers 6 years ago
Leo Chen 2a602db9b0 fix the build after rename the repo to harmony-one 6 years ago
Rongjian Lan 97ed44db29 Add branch account_model 6 years ago
Minh Doan 0e34dcf448 fix a lot of basic mistakes. See https://docs.google.com/document/d/1eIuVFnRra8Ggnj5zSTcGLn9iXGwHEdOHGC6-gHvvuGc 6 years ago
Minh Doan 29b3281d4a fix lint, now 138 left 6 years ago
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