Commit Graph

748 Commits (7fe3daf0e3505ff76a0d6634e63b1f6543210b72)
 

Author SHA1 Message Date
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
Richard Liu 94a9a52cab clean code; fix build break. 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 9a691a3963 Remove the unnecessary field for length to sign in Announcement message 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 fcb194bbd7 Generate real challenge in the cosi challenge phase 6 years ago
Rongjian Lan e97da26d25 Merge branch 'master' of github.com:simple-rules/harmony-benchmark 6 years ago
Richard Liu beccc19951
Merge pull request #53 from simple-rules/ricl-txgen 6 years ago
Richard Liu 07fbeb6c8b update btctxgen so that it will iterate tx on by on. 6 years ago
Rongjian Lan 3eb5370c13 Implement the key aggregation for collective sig 6 years ago
Richard Liu 47501a2df2 vscode format 6 years ago
Richard Liu 9e822c04bd merge 6 years ago
Rongjian Lan 7e2634cdc0 Make leader aggregate real commitments 6 years ago
Rongjian Lan b2ea1dacfa Add utility function to aggregate commitments, but not bitmaps 6 years ago
Rongjian Lan c03c08d4d9 Implement the crypto commitment for phase-announce and phase-commit in cosi 6 years ago
Rongjian Lan d115ba6ab9 Add SetKey function in cosi.go so we can directly set bitmap based on public key 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 8f85868345 Add ed25519 curve, hashing, pri/pub key utilities into crypto/ 6 years ago
Rongjian Lan 3ceab2168d Create the secret and real commitment message for validator commit 6 years ago
Rongjian Lan b91f23c696 Reuse Dedis lab's kyber library for schnorr multi-sig 6 years ago
Richard Liu a142e2a853
Update README.md 6 years ago
Rongjian Lan 2e8ac6a6e7 Fix import issue of btctxgen.go after my refactor on proto/ 6 years ago
Rongjian Lan fe9bb236b7 Define cryptography primitives: Point, Scalar. Following dedis/cothority/kyber 6 years ago
Richard Liu ca3ed368b1 update btctxgen 6 years ago
Richard Liu 26c855deb0
Merge pull request #52 from simple-rules/ricl-txgen 6 years ago
Richard Liu 90fac0f1ab initClient 6 years ago
Richard Liu 5715fbcdc4
Merge pull request #51 from simple-rules/ricl-txgen 6 years ago
Richard Liu 0455ecc2b1 sketch 6 years ago
Rongjian Lan c658a131b3
Merge pull request #50 from simple-rules/rj-refactor 6 years ago
Rongjian Lan 82b93a26d2 Fix consensus_test.go 6 years ago
Rongjian Lan 651af74bf0 Fix bad code from last refactoring 6 years ago
Rongjian Lan f783dbb47b Refactor consensus and client's message.go file 6 years ago
Rongjian Lan 80ae8cdcf6 Refactor proto node.go into it's own package 6 years ago
Rongjian Lan 737732150f Refactor node/message.go to proto/node.go, p2p/message.go to p2p.message_reader.go 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 a54d4487b7 Correct const names for message category and type size 6 years ago
Rongjian Lan 6a408a2e97 Change COMMITTEE message category to CONSENSUS, which is more understandable 6 years ago
Richard Liu 3f87720f8b
Merge pull request #49 from simple-rules/ricl-txgen 6 years ago
Richard Liu c468cc350e add log 6 years ago
Richard Liu 62f38fb49b &txInfo 6 years ago
Richard Liu b5ff075848 minor. 6 years ago
Richard Liu 1d4908af83 minor. 6 years ago
Richard Liu 6d6742cd2d extract txInfo. 6 years ago
Richard Liu 82df392ac8
Merge pull request #48 from simple-rules/ricl-txgen 6 years ago
Richard Liu ab73f27df2 get client port into configr 6 years ago
Richard Liu ffaddd9955
Merge pull request #47 from simple-rules/ricl-txgen 6 years ago
Richard Liu 349475210c rename configr 6 years ago