Commit Graph

26 Commits (c56930921b1aee1140136e19041b053719f8fff2)

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
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 b32dfa211b Rename Curve to Ed25519Curve for clarity 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
Richard Liu 349475210c rename configr 6 years ago
Richard Liu a2873e54bc update configread 6 years ago
Richard Liu 12c83d422c merge configreader 6 years ago
Richard Liu 778c35dce9 added report_extract.py 6 years ago
Richard Liu 837d7d7188 updated mem and cpu usage. 6 years ago
Richard Liu ed0c72c36f use gopsutil 6 years ago
Minh Doan 7f3c717092 return consensus pointer instead a copy which contains mutex 6 years ago
Minh Doan 7ebcc89cdb refactor to avoid returning a copy of a struct containing lock 6 years ago
Richard Liu f092d25d7a added ip into log file name 6 years ago
Richard Liu 83a416b240 add duty to log file name. 6 years ago
Richard Liu cbedf08a6c log mem usage. 6 years ago
Minh Doan 283ef0b3da enable attack timeout and killing itself 6 years ago
Minh Doan 7c0c6bb829 change to attack into singleton, modify the logic 6 years ago
Minh Doan 373433531d add logic of attack determination for each node 6 years ago
Minh Doan 1b5f6d10f4 add timeout attack 6 years ago
Minh Doan 8a276591a7 add attack for killing nodes 6 years ago
Minh Doan a62de84eb0 add attack package 6 years ago
Richard Liu aa3f414d37 workaround weird gofmt issue 6 years ago
Richard Liu e183eea0f6 update ordering; skip network log temporarily 6 years ago
Richard Liu a8be1dd841 move exe to /bin. 6 years ago
Richard Liu 6a53f6c2b9 first commit for loghost 6 years ago
Rongjian Lan c8627fa32a Refactor tx generator methods and add more comments 7 years ago
alok cc8a6d805c removing log file check 7 years ago
alok 6dbe544abd remove old log files if they exist 7 years ago
Rongjian Lan ccff95bab3 Add serialization of proof list and let leader to send it to client 7 years ago
Rongjian Lan 061a5bbdc6 Add message protocol for proof-of-accept/reject 7 years ago
Rongjian Lan 84b829917e Add node server for tx generator client 7 years ago
Rongjian Lan b5dcd76831 Add cross shard TX proof and the logic to keep them for proof-of-accept or proof-of-reject 7 years ago
Richard Liu a0c5d14b8d create tmp folders for logs 7 years ago
Richard Liu 40e485356e split log per node 7 years ago
Rongjian Lan 4a16c007e7 Fine tune consensus throughput locally: one shard / 300 nodes / 800 tps 7 years ago
Rongjian Lan 600ad2b5e4 Add test for countNumTransactionsInBlockchain() 7 years ago
Rongjian Lan b9cd467460 Add consensus retry so the consensus process won't get stuck forever 7 years ago
Rongjian Lan 3b7edd4710 Add post-consensus processing of blockchain (add new block to blockchain) 7 years ago
Rongjian Lan de988ef76a Add block verification in validator node; link verification function from Node obj to Consensus obj 7 years ago
Richard Liu 83364e487d updated to stdout + file logger 7 years ago
Rongjian Lan cb549d9693 Add more comments to new code; make prevHash 32 byte array 7 years ago
Rongjian Lan b1d2eaa52b Add valid transaction simulator based on current utxo pool 7 years ago
Richard Liu 5096238128 update logs 7 years ago
Rongjian Lan d771fe7df9 Format existing code according to gofmt 7 years ago
Rongjian Lan 6da4336614 Add sharding config with 2 shard; update tx generator accordingly 7 years ago
Rongjian Lan c7d9c6843a Add shardId into consensus and rename ipList file into config file 7 years ago
Rongjian Lan 79adb14279 create channel to send new block to consensus and consensus to signal readiness 7 years ago
Rongjian Lan 0b4d06ce5e add message dir; add msgCategory, msgType in messaging protocol; add node struct as the entry point for messages 7 years ago
Rongjian Lan fca461b766 Clean up legacy code and structure 7 years ago