120 Commits (6252b63e5338598dbe7bc9f192046a7537f4de54)

Author SHA1 Message Date
  Ethan Buchman 9293ae76bf p2p: introduce peerConn to simplify peer creation (#1226) 7 years ago
  Anton Kaliaev 747b73cb95
fix merge conflicts 7 years ago
  Anton Kaliaev 161e100a24
close return channel when we're done 7 years ago
  Anton Kaliaev d14d4a2527
remove TryBroadcast 7 years ago
  zbo14 9b554fb2c4
switch test modification 7 years ago
  zbo14 f97ead4f5f
prep for merge 7 years ago
  zbo14 1d16df6a92
add test, TrySend in broadcast 7 years ago
  Ethan Buchman 44e967184a p2p: tmconn->conn and types->p2p 7 years ago
  Ethan Buchman 5b5cbaa66a p2p: use sub dirs 7 years ago
  Ethan Buchman f9e4f6eb6b reorder peer.go methods 7 years ago
  Ethan Buchman a17105fd46 p2p: peer.Key -> peer.ID 7 years ago
  Ethan Buchman b289d2baf4 persistent node key and ID 7 years ago
  Ethan Buchman 528154f1a2 p2p: PrivKey need not be Ed25519 7 years ago
  Ethan Buchman 5511bd8e85 p2p: exponential backoff on reconnect. closes #939 7 years ago
  Anton Kaliaev 69b5da766c
service#Start, service#Stop signatures were changed 7 years ago
  Ethan Buchman 55b81cc1a1 address linting FIXMEs 7 years ago
  Zach Ramsay 15651a931e linting errors: tackle p2p package 7 years ago
  Zach Ramsay 46ccbcbff6 linting: apply 'gofmt -s -w' throughout 7 years ago
  Emmanuel Odeke 283544c7f3
p2p: use fake net.Pipe since only >=Go1.10 implements SetDeadline 7 years ago
  Ethan Buchman e69d36d54f some more robust sleeps 7 years ago
  Anton Kaliaev 7869e541f6
change MakeConnectedSwitches to not connect to itself 7 years ago
  Anton Kaliaev e0daca5693
fixes from Bucky's review 7 years ago
  Anton Kaliaev 2d4ad02356
prefer tickers to time.Sleep (Refs #790) 7 years ago
  Ethan Buchman b50339e8e7 p2p: sw.AddPeer -> sw.addPeer 7 years ago
  Ethan Buchman aea8629272 peer interface 7 years ago
  Ethan Buchman e6cecb9595 p2p: fix test 7 years ago
  Ethan Buchman 16509ac3db
p2p: fix race by peer.Start() before peers.Add() 8 years ago
  Anton Kaliaev f803544195
new logging 8 years ago
  Ethan Buchman 46151720f8 fix tests 8 years ago
  Ethan Buchman 57151d6043 p2p: use cmn instead of . 8 years ago
  Ethan Buchman 5d660e073a remove viper from p2p 8 years ago
  Ethan Buchman fcf78a5da7 cleanup go-config/viper and some unnamed imports 8 years ago
  Ethan Buchman 23a6a6f8fc move into p2p package 8 years ago
  Ethan Buchman eaeb547938 use tmlibs 8 years ago
  Anton Kaliaev 06d219db8e
test peer with no auth enc 8 years ago
  Anton Kaliaev 1d01f6af98
2 kinds of peers: outbound and inbound 8 years ago
  Anton Kaliaev 7dcc3dbcd1
test peer 8 years ago
  Ethan Buchman 9a1a6c56b4 dont expose makePersistent 8 years ago
  Ethan Buchman b6f744c732 fix AddPeerWithConnection 8 years ago
  Ethan Buchman a9bb6734e7 SetDeadline for authEnc. Stop peer if Add fails 8 years ago
  Anton Kaliaev 8bb3a2e1d7
persistent peers (Refs #13) 8 years ago
  Ethan Buchman 0e7baf027b some dial seeds fixes 8 years ago
  rigelrozanski 26275ba66c dial seeds error handling 8 years ago
  Ethan Buchman 153ac88672 update MakeConnectedSwitches 8 years ago
  Ethan Buchman 642901d5aa filter conn by addr/pubkey. closes #3 8 years ago
  Ethan Buchman 711d2541f5 MakeConnectedSwitches function 9 years ago
  Ethan Buchman 981c6868ad fix race conditions in tests 9 years ago
  Ethan Buchman 6684a18730 fix test 9 years ago
  Jae Kwon abc3a2cc3c initial commit 9 years ago