Commit Graph

31 Commits (fa3729ffb5c224ef70b291a6ae35d7add883e81f)

Author SHA1 Message Date
Minh Doan fa3729ffb5 fix syncing assumption that all peers in syncing are honest. hashes consensus are reached when 2/3 nodes agree on the hashes 6 years ago
Minh Doan 8b94362bd6 add more tests when bad node participarting in syncing 6 years ago
Minh Doan ceeb019bac fix syncing assumption that all peers in syncing are honest. hashes consensus are reached when 2/3 nodes agree on the hashes 6 years ago
Minh Doan 8e5a30debb quick fix for syncing server making connection 6 years ago
Minh Doan f77ecb6a11 quick fix to make ./deploy.sh working. the reason is that we only open a fixed port to function syncing for the different nodes but ./deploy.sh is to run nodes in the same localhost address 6 years ago
Minh Doan 29a5cc563e add some more State and set up syncing in each node 6 years ago
Minh Doan 45e0eeb728 add some more State and set up syncing in each node 6 years ago
Minh Doan 7094d5d530 make sure syncing package can keep syncing in case the new hashes are updated 6 years ago
Minh Doan 979f1a6e61 add more doc 6 years ago
Minh Doan 3b1bd7fdf3 change sync state logic and fix its test 6 years ago
Minh Doan 8b84044730 change proto file and its implementation 6 years ago
Minh Doan fb119b455d add proto generation 6 years ago
Minh Doan d171691e28 add tests for syncing 6 years ago
Minh Doan ab2f39f5a3 fix import with goimport 6 years ago
Minh Doan 4bff45145f update syncing implementation with new downloader api 6 years ago
Minh Doan f6c514f802 add test for GetBlocks 6 years ago
Minh Doan 48b40bc88c add TestGetBlockHashes and refactor related code 6 years ago
Minh Doan 8369b89cfd clean-up client/server. Move client/server to parent folder 6 years ago
Minh Doan 7e575ba4f1 add very simple test 6 years ago
Minh Doan 0fcc95d695 convert working client/server into apis 6 years ago
Minh Doan 36382f5074 add working version of client and server 6 years ago
Minh Doan 0d0f1fd5c9 add client and server_test 6 years ago
Minh Doan c43378352d add server api for downloader 6 years ago
Minh Doan ec51aa168a add download proto 6 years ago
Minh Doan d35f12b85a state sync improvement 6 years ago
Minh Doan fd4cbda500 state_sync incremental improvement 6 years ago
Minh Doan 408bc10ceb modify state sync logic 6 years ago
Minh Doan 1ac637d670 add interface for state syncing 6 years ago
Leo Chen 2a602db9b0 fix the build after rename the repo to harmony-one 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 bae896c944 fix comments and fix ALL_CAPS lint 6 years ago
Minh Doan 1d89e89231 using syncing package instead 6 years ago