Commit Graph

53 Commits (b32dfa211b9205f16aaee0fff3526c9047b0d643)

Author SHA1 Message Date
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 651af74bf0 Fix bad code from last refactoring 6 years ago
Minh Doan 35dda18b4d add shard id in tps report 6 years ago
Richard Liu cbedf08a6c log mem usage. 6 years ago
Richard Liu 0a97d984be updated tps starttime location 6 years ago
Rongjian Lan 605b1730d8 Pull logging util func into utils/metrics.go; add more comments for consensus 6 years ago
Richard Liu 1bacb1a8db added mem report 6 years ago
Richard Liu 3266c20077 added tps 6 years ago
Rongjian Lan d9ff51d534 Remove some legacy lines and fix some comments for consensus and blocks 6 years ago
Rongjian Lan 9baa7c8503 Add lock on UTXO pool operations; fix validator catch up logic 6 years ago
Rongjian Lan 2ddd32882c Add ShardId into the revelant data structures: block, UTXO etc. 6 years ago
Rongjian Lan 60647c9833 clean up more logging and commented lines; make tx simulator wait more time for other nodes to be ready 6 years ago
Rongjian Lan 89f8f5bb38 Clean up the logs 6 years ago
Rongjian Lan 4a16c007e7 Fine tune consensus throughput locally: one shard / 300 nodes / 800 tps 6 years ago
Rongjian Lan 71d1a819a4 Correct code format, add numTxProcessed stats reporting 6 years ago
Rongjian Lan b9cd467460 Add consensus retry so the consensus process won't get stuck forever 6 years ago
Minh Doan 2a05aedbf5 polish code by gofmt 6 years ago
Rongjian Lan 1b3ceccf2d Synchronization bug fixes on consensus 6 years ago
Rongjian Lan 3b7edd4710 Add post-consensus processing of blockchain (add new block to blockchain) 6 years ago
Rongjian Lan de988ef76a Add block verification in validator node; link verification function from Node obj to Consensus obj 6 years ago
Rongjian Lan cb549d9693 Add more comments to new code; make prevHash 32 byte array 6 years ago
Rongjian Lan d5214f3b3d Add logic to select transactions from pendingTxs using UTXO pool 6 years ago
Richard Liu 5096238128 update logs 6 years ago
Richard Liu 91ea18228f added log package 6 years ago
Rongjian Lan 6adafcb8c9 Fill in multisig mocks 6 years ago
Rongjian Lan 6da4336614 Add sharding config with 2 shard; update tx generator accordingly 6 years ago
Rongjian Lan 0498d87059 Add consensus view Id and checks 6 years ago
Minh Doan 271106289e fix comments 6 years ago
Minh Doan 3a7f9eb46d add more generic utxo 6 years ago
Richard Liu a3663106d3 updated log functions 6 years ago
Richard Liu 7bd78e56a2 temp fix for enabling travis 6 years ago
Richard Liu 1e513669e3 temp fix for unblocking build 6 years ago
alok 55113dc0a9 killing consensus 6 years ago
Rongjian Lan d2927374b1 Take out transactions from pending Pool for new block 6 years ago
Rongjian Lan 79adb14279 create channel to send new block to consensus and consensus to signal readiness 6 years ago
alok 855ed6d603 WIP: adding message to stop running consensus 6 years ago
Rongjian Lan 0b4d06ce5e add message dir; add msgCategory, msgType in messaging protocol; add node struct as the entry point for messages 6 years ago
Rongjian Lan 9dc0f9c66d Fill in consensus message structure and send realistic consensus message instead of dummy string 6 years ago
Rongjian Lan 15f8bc607a Scaled consensus to 100 nodes。 6 years ago
Minh Doan 32d1f71ac1 fix import 6 years ago
Minh Doan 73b873b90b convert indentation and add vscode settings 6 years ago
Rongjian Lan 403508f2d1 Two-round consensus finished; change logging to use log package everywhere; limit the visibility of Consensus struct fields 6 years ago
Rongjian Lan 0e66f7147f Add challenge broadcast; put consensus signature in map; refactor consensus init into consensus package 6 years ago
Rongjian Lan c0fd09be05 Refactor consensus code into leader part and validator part 6 years ago