Commit Graph

968 Commits (32bbd1a7dd8f91408d22d834a6b6637e527a1f91)
 

Author SHA1 Message Date
Minh Doan 8fa5e07a0c use our log 6 years ago
Minh Doan 896c2b20f4 add db package. most code is clone from ethereum-go 6 years ago
Richard Liu 3a47491e60
Merge pull request #55 from simple-rules/ricl-github 6 years ago
Richard Liu 7ad223816f update for github.com folder structure 6 years ago
Richard Liu f7fccb764f use godoc to generate doc. 6 years ago
Richard Liu dab47e7b24 update readme btctxgen. 6 years ago
Richard Liu 26cfe7b1e1
Merge pull request #54 from simple-rules/ricl-utxo 6 years ago
Richard Liu 932852b674 rename 6 years ago
Richard Liu 6c5c207d4d update utxo types. 6 years ago
Richard Liu 2c297dedc6 fix build issue. 6 years ago
Richard Liu 5ad778781e fixed null outpoint issue; make outpoint.index uint32. 6 years ago
Richard Liu 09286bb82a add outpoint 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 da7959f9e3 Clear the unused variables 6 years ago
Rongjian Lan 491078febb Verify challenge based on aggregated commitments and public keys 6 years ago
Richard Liu 0b79259863 update cross-shard. 6 years ago
Richard Liu 88892e61eb added cross-shard support to btctxgen 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 c56930921b Check signature for challenge message and reorder the sig-checking clause after lighter checks 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
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