Commit Graph

478 Commits (6c3c751b6f6162840f9fab5e8187eb9e24d5e600)

Author SHA1 Message Date
Rongjian Lan 17fe3fd35a Change stats reporting to account for state block 6 years ago
Richard Liu 8d43e64a1f report key. 6 years ago
Rongjian Lan 80d98946d4 Create state block every 10 tx blocks 6 years ago
Rongjian Lan 1e23a94207 Make transaction Ids report flexible on empty blocks 6 years ago
Richard Liu 24ea87f1de latestTxHashes. 6 years ago
Richard Liu fa1fdecfbd added blockLatency. 6 years ago
Richard Liu 32d7047512 added latestBlockHash and latestTxHash. 6 years ago
Richard Liu 91f53904cb report nodeCount. 6 years ago
Richard Liu 66a9fa81ac added txCount 6 years ago
Richard Liu 5eeca78124 rough version of tps report. 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 0e5e4dce1f Bring back the 2/3f+1 threshold for multi-sig and add basic response check 6 years ago
Rongjian Lan 09676aafb9 Add collective signature verification and temporarily bump the sig threshold to every nodes 6 years ago
Rongjian Lan 88ee34821c Clean up consensus handler's switch clause 6 years ago
Rongjian Lan e0c250561d Add collective sig message and broadcasting it after prepare phase of cosi 6 years ago
Rongjian Lan c519f495ca Refactor constructResponseMessage to support final response 6 years ago
Rongjian Lan 8dc7448e82 Refactor constructChallengeMessage to support final challenge 6 years ago
Rongjian Lan 25c99ea3a4 Refactor constructCommitMessage func so it can be used for final commit too 6 years ago
Rongjian Lan 2d8a0d8f22 Add constructCollectiveSigMessage() function 6 years ago
Rongjian Lan 7007f9d769 Refactor consensus leader/validator code into handler specific and message specific ones 6 years ago
Rongjian Lan 8e2dcd4bfc Set the bitmap for responded validators 6 years ago
Rongjian Lan d5ae10dbc4 Add state and consensus message type for commit phase of Cosi 6 years ago
Rongjian Lan b7a7aa339c Add bitmap and signature for blocks; populate signature for block 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
Rongjian Lan 8c167c1d14 Migrate address from string to [20]byte 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 da7959f9e3 Clear the unused variables 6 years ago
Rongjian Lan 491078febb Verify challenge based on aggregated commitments and public keys 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 3eb5370c13 Implement the key aggregation for collective sig 6 years ago
Rongjian Lan 7e2634cdc0 Make leader aggregate real commitments 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 82b93a26d2 Fix consensus_test.go 6 years ago
Rongjian Lan 651af74bf0 Fix bad code from last refactoring 6 years ago