Commit Graph

40 Commits (2031ec09df10903d1a9522c54a8be4df951938fa)

Author SHA1 Message Date
Minh Doan 284a765fd9 change logic of syncing 6 years ago
Minh Doan 51e47421f5 fix golint for client txgent 6 years ago
Minh Doan b707b0d893 fix test 6 years ago
Leo Chen 76375a2425 HAR-84: golint fix of p2p/peer.go 6 years ago
Minh Doan 7870edae6f add more tests when bad node participarting in syncing 6 years ago
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 d69985dff3 add more tests when bad node participarting in syncing 6 years ago
Minh Doan 2f13e46543 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 a0a4656315 add more tests when bad node participarting in syncing 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 14d130566d 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 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