Commit Graph

1141 Commits (97b4c735dc7467ca9b9b0d42367c08a686740b8a)

Author SHA1 Message Date
Leo Chen e8b6a45fe0 log size of messages in log file 6 years ago
Leo Chen 13dfea2e84 add addtional log message in transportation 6 years ago
Minh Doan e6e4e4a7dd cleaning up code 6 years ago
Rongjian Lan 97ed44db29 Add branch account_model 6 years ago
Minh Doan 0e34dcf448 fix a lot of basic mistakes. See https://docs.google.com/document/d/1eIuVFnRra8Ggnj5zSTcGLn9iXGwHEdOHGC6-gHvvuGc 6 years ago
Minh Doan 29b3281d4a fix lint, now 138 left 6 years ago
Minh Doan ef2521e068 refactor: changing constant from ALLCAPS to format of gofmt 6 years ago
Minh Doan 04f6435ebf fix comment and fix lint 6 years ago
Minh Doan 362be9d788 change nodeId to nodeID 6 years ago
Minh Doan 37a9d84216 change FINISHED to Finished 6 years ago
Minh Doan c7908e8821 change myLeaderId to myLeaderID 6 years ago
Minh Doan c27feb45d1 change validatorId to validatorID 6 years ago
Minh Doan bae896c944 fix comments and fix ALL_CAPS lint 6 years ago
Rongjian Lan 67b160901b Add more logs and avoid validator broadcast when not necessary 6 years ago
Rongjian Lan 279fbc4b0d Remove accidentally introduced debug log 6 years ago
Rongjian Lan d997b4271f Lower the threshold from 1/1 to 2/3 6 years ago
Minh Doan 73996866dd set up validator id for peers 6 years ago
Minh Doan e7cb022721 add logic for syncing 6 years ago
Rongjian Lan f6963f44af Add more log for aws debugging 6 years ago
Minh Doan 428387f34a clean up 6 years ago
Richard Liu fa27b46782 use json instead. 6 years ago
Rongjian Lan c9a54e1784 Add more logs for aws debugging 6 years ago
Minh Doan 93a7f92136 add more wires for syncing. add flag node_sync to assume the new node will start with sync first. also fix some code of identitychain which make some copies of struct containing Mutex 6 years ago
Minh Doan 5216f08cbe add data structure for consensus 6 years ago
Minh Doan 9537a04fb5 change ReadySignal into a good practice 6 years ago
Minh Doan b7f0d7765d add logic for waiting for syncing finish 6 years ago
Richard Liu 3815f3ca14 update profiler to be singleton; add metricsReportURL argument. 6 years ago
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