Commit Graph

3 Commits (5ad61a58851ffe16ab8318e33cb8d8f144e31c2e)

Author SHA1 Message Date
Eugene Kim 5ad4d5a8f0 Adjust import paths and also goimports 6 years ago
Leo Chen 53a5c3c856 HAR-65: support node removal after node is offline 6 years ago
Richard Liu 64230da6ee abstract out 2 versions of p2p 6 years ago
Leo Chen 7bf3bfcdfc HAR-65: use better broadcast model for ping message 6 years ago
Leo Chen 76375a2425 HAR-84: golint fix of p2p/peer.go 6 years ago
Richard Liu 9ac2645935 integrate libp2p as version 2 p2p 6 years ago
Leo Chen 1d7baff8c4 print # of retry when sending packet via socket 6 years ago
Leo Chen d8f0d504cc fix validatorID not populated to all validator issue 6 years ago
Leo Chen 2a602db9b0 fix the build after rename the repo to harmony-one 6 years ago
ak 5b1d0c1d81 todo sustain node server to receive pingback 6 years ago
Leo Chen 6282530b3d Add proper message when the block propagation started 6 years ago
Leo Chen e8b6a45fe0 log size of messages in log file 6 years ago
Minh Doan 7f9c81874d cleanup 6 years ago
Minh Doan 0e34dcf448 fix a lot of basic mistakes. See https://docs.google.com/document/d/1eIuVFnRra8Ggnj5zSTcGLn9iXGwHEdOHGC6-gHvvuGc 6 years ago
Eugene Kim c6cd5c055d Try to send out a message 10 times, then give up 6 years ago
Eugene Kim f4b19d3bcd Send unicast messages in background too 6 years ago
Eugene Kim d888bc2149 When broadcasting, do not wait for deliveries 6 years ago
Minh Doan 9e1b9129e5 polish the logic of avoiding doing some unnessary work when # of peers is 0 6 years ago
Rongjian Lan 67b160901b Add more logs and avoid validator broadcast when not necessary 6 years ago
Eugene Kim 3d46b3bb57 Use log15 (I stand corrected; we had it!) 6 years ago
Eugene Kim ea0b358870 Remove unused import 6 years ago
Eugene Kim bdf7e37ddc Make send() retry with exponential backoff 6 years ago
Eugene Kim 8d277fb796 Make sendWithSocketClient() log and return error 6 years ago
Eugene Kim 6a114e86c5 Fix logging net.Dial() errors 6 years ago
Eugene Kim dbc28e6fcf Use net.JoinHostPort() instead of hand-joining 6 years ago
Rongjian Lan d997b4271f Lower the threshold from 1/1 to 2/3 6 years ago
Minh Doan 44c2c00378 fix the bugs in multicaset 6 years ago
Minh Doan 7c6aad17fa disable multicast 6 years ago
Minh Doan 9a2dc6ebd5 clean up 6 years ago
Minh Doan 0d1b847970 add multi boardcast improvement 6 years ago
Minh Doan 4328d72652 add self peer to node 6 years ago
Minh Doan 73996866dd set up validator id for peers 6 years ago
Rongjian Lan a7fa035555 Fix previous build error 6 years ago
Rongjian Lan 22ef82be6a Add timer log on p2p broadcast 6 years ago
Minh Doan e7cb022721 add logic for syncing 6 years ago
Minh Doan b7f0d7765d add logic for waiting for syncing finish 6 years ago
Richard Liu 7ad223816f update for github.com folder structure 6 years ago
Richard Liu 47501a2df2 vscode format 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
Minh Doan 283ef0b3da enable attack timeout and killing itself 6 years ago
Minh Doan 373433531d add logic of attack determination for each node 6 years ago
Rongjian Lan da45cdeef5 Fix the broadcast bug introduced by for loop deferencing to the last element (for loop variable is just a temp pointer to the element) 6 years ago
Minh Doan 1b5f6d10f4 add timeout attack 6 years ago
Minh Doan bffd16571e fix kill_node.sh script and improve logic of peer.go 6 years ago
Minh Doan 39b9a36feb replace block hash by transaction hash 6 years ago
Minh Doan 31f111ed5d polish code 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
Rongjian Lan 403508f2d1 Two-round consensus finished; change logging to use log package everywhere; limit the visibility of Consensus struct fields 7 years ago