215 Commits (5a25b75b1d586c6d9c3fdfc940057f7b85089a90)

Author SHA1 Message Date
  Javed Khan 54adb790f2
p2p: switch - reconnect only if persistent 7 years ago
  Anton Kaliaev 3233c318ea
only log errors, dial correct addresses 7 years ago
  Anton Kaliaev 6e39ec6e26
do not even try to dial ourselves 7 years ago
  Anton Kaliaev 7f6ee7a46b
add a comment for NewSwitch 7 years ago
  Anton Kaliaev 3b3f45d49b
use addrbook#AddOurAddress to store our address 7 years ago
  Anton Kaliaev 4b8e342309
fix panic: lookup testing on 10.0.2.3:53: no such host 7 years ago
  Anton Kaliaev 5a2fa71b03
use combination of IP and port, not just IP 7 years ago
  Anton Kaliaev 9a57ef9cbf
do not dial ourselves (ok, maybe just once) 7 years ago
  Javed Khan 5ef639fcbe
p2p: persistent - redial if first dial fails 7 years ago
  Jae Kwon 901b456151 P2P now works with Amino 7 years ago
  Anton Kaliaev 214817ed17
do not add peer to switch if it fails to start 7 years ago
  Anton Kaliaev 714f885dac
mark peer as good if it contributed enough votes or block parts 7 years ago
  Ethan Buchman 9293ae76bf p2p: introduce peerConn to simplify peer creation (#1226) 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 1d16df6a92
add test, TrySend in broadcast 7 years ago
  Ethan Buchman 8f3bd3f209 p2p: addrBook.Save() on DialPeersAsync 7 years ago
  Ethan Buchman 21ce5856b3 p2p: notes about ListenAddr 7 years ago
  Ethan Buchman 3090b05eb4 p2p: use conn.Close when peer is nil 7 years ago
  Ethan Buchman 44e967184a p2p: tmconn->conn and types->p2p 7 years ago
  Ethan Buchman 0d7d16005a fixes 7 years ago
  Ethan Buchman 5b5cbaa66a p2p: use sub dirs 7 years ago
  Ethan Buchman 03550c7076 wip addrbook 7 years ago
  Ethan Buchman 68237911ba NetAddress.Same checks ID or DialString 7 years ago
  Ethan Buchman f9e4f6eb6b reorder peer.go methods 7 years ago
  Ethan Buchman 8b74a8d6ac NodeInfo not a pointer 7 years ago
  Ethan Buchman 08f84cd712 a little more moving around 7 years ago
  Ethan Buchman 452d10f368 cleanup switch 7 years ago
  Ethan Buchman 7667e11973 remove RemoteAddr from NodeInfo 7 years ago
  Ethan Buchman 53a5498fc5 more fixes from review 7 years ago
  Ethan Buchman e4d52401cf some fixes from review 7 years ago
  Ethan Buchman e2b3b5b58c dial_persistent_peers -> dial_peers with persistent option 7 years ago
  Anton Kaliaev e4897b7bdd
rename manual peers to persistent peers 7 years ago
  Anton Kaliaev 28fc15028a
distinguish between seeds and manual peers in the config/flags 7 years ago
  Ethan Buchman 488ae529ad p2p: authenticate peer ID 7 years ago
  Ethan Buchman 6e823c6e87 p2p: support addr format ID@IP:PORT 7 years ago
  Ethan Buchman 7d35500e6b p2p: add ID to NetAddress and use for AddrBook 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 f2e0abf1dc p2p: reorder some checks in addPeer; add comments to NodeInfo 7 years ago
  Ethan Buchman 528154f1a2 p2p: PrivKey need not be Ed25519 7 years ago
  Ethan Buchman cb3ac6987e remove some debugs 7 years ago
  Ethan Buchman 5d04ccbe51 excessive logging. update tmlibs for timer fix 7 years ago
  Ethan Buchman 5511bd8e85 p2p: exponential backoff on reconnect. closes #939 7 years ago
  Anton Kaliaev c609b18698
tolerate unresolvable seeds (Refs #880) 7 years ago
  Anton Kaliaev 691e266bef
ignore ErrAlreadyStarted when starting addrbook in PEXReactor 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 1721543e5c linting: apply misspell 7 years ago