Commit Graph

303 Commits (fix/only-valid-blocks)

Author SHA1 Message Date
Leo Chen b7838579de use mutex to simplify the locking 6 years ago
Leo Chen 98596f4f21 add connecthostpeer function 6 years ago
Leo Chen 8820c257a6 add list of incoming/outgoing peers 6 years ago
Leo Chen ec5102708e [libp2p] init integration of group message by pubsub 6 years ago
Leo Chen 993ec605c9 nit: add peer info when logging write errors 6 years ago
Leo Chen 65d3e56e67 add error variables for p2p/host 6 years ago
Eugene Kim bc3fb1e4a2 Regenerate host mock 6 years ago
Eugene Kim 7f0e170f7a Rename GroupReceiver → GroupReceiverImpl in hostv2 6 years ago
Eugene Kim 857d24ced8 Add tests 6 years ago
Eugene Kim 52f6600b39 Add pubsub-based multicast, first pass 6 years ago
Eugene Kim 15d3693b49 Byebye hostv1 6 years ago
Leo Chen 47545789c2 fix protocol not supported issue 6 years ago
Minh Doan 7a37836b35 replace log by singleton logging 6 years ago
Leo Chen 984bd15fa4 add GetHost API in p2p/host package 6 years ago
Leo Chen 5c129411b1 add options support in hostv2.New 6 years ago
Eugene Kim cd44397168 Remove deprecated Ready field 6 years ago
Eugene Kim 24fd9d67b8 More goimports 6 years ago
Minh Doan d634d43148 fix import order 6 years ago
Eugene Kim cf0486dbd3 More goimports 6 years ago
Rongjian Lan 39b941d904 Migrate to BLS 6 years ago
Leo Chen 2984fb90ba fix go test errors in travis_checker.sh 6 years ago
Leo Chen c112ffb414 generate private key outside of host creation 6 years ago
Eugene Kim 1e39837f5a gometalinter p2p/... 6 years ago
Leo Chen 8edebd2250 fix some send message failure 6 years ago
Eugene Kim 4a2e1e2110 Move Host interface into the top-level p2p package 6 years ago
Leo Chen 49a48958d9 address all review comments 6 years ago
Leo Chen 550da64144 fix all the go test errors after p2p changes 6 years ago
Leo Chen fcbf5c255a add addPeer function support in p2p 6 years ago
Leo Chen f189ba0183 simplify SendMessage 6 years ago
Eugene Kim 5ad4d5a8f0 Adjust import paths and also goimports 6 years ago
Leo Chen c511c4d4e0 catch errors in SendMessage 6 years ago
Leo Chen cc322ce3ff re-enable libp2p by default 6 years ago
Minh Doan 2245b37851 fix the break at master 6 years ago
Leo Chen c378482e23 enable libp2p by default 6 years ago
chaosma 6476146a81 add p2p unit tests 6 years ago
Richard Liu 79d7ac30c3
remove dup bufio.NewWriter (#223) 6 years ago
chaosma da32d1c0bb
simplify read message content code (#216) 6 years ago
Richard Liu 7538f64d7e
fix p2p v2 on aws and for surviving from node killing. (#204) 6 years ago
Rongjian Lan fdcce8e4de Add tests for node_handler.go; move stream interface to its own file;create mock for stream.go 6 years ago
Rongjian Lan f26d62984c Add tests for consensus leader code 6 years ago
Leo Chen 3356c61332 use in-repo log module for p2p 6 years ago
Leo Chen 18a52968b3 fix can't bind address issue on AWS 6 years ago
Leo Chen 53a5c3c856 HAR-65: support node removal after node is offline 6 years ago
Richard Liu edbcb88d45
fix p2p error related to beacon chain (#142) 6 years ago
Richard Liu 64230da6ee abstract out 2 versions of p2p 6 years ago
Minh Doan 2031ec09df get rid of unused code 6 years ago
Leo Chen ed791fad71 HAR-84: golint fix on ida 6 years ago
Leo Chen 7bf3bfcdfc HAR-65: use better broadcast model for ping message 6 years ago
Leo Chen 8c08f5ba5e HAR-84: fix golint warnings in crytpo, p2p 6 years ago
Leo Chen 76375a2425 HAR-84: golint fix of p2p/peer.go 6 years ago