227 Commits (482cb62cf5927697aa4c02b32fff6e7d29b902d9)

Author SHA1 Message Date
  Ethan Buchman 1fe41be929
p2p: prevent connections from same ip 7 years ago
  Ethan Buchman 68a0b3f95b version bump. add roadmap back. minor fixes 7 years ago
  Ethan Buchman fae94a44a2 p2p/pex: some addrbook fixes 7 years ago
  Ethan Buchman c90bf77566 rpc: add n_peers to /net_info 7 years ago
  Ethan Buchman 6805ddf1b8 p2p: change some logs from Error to Debug. #1476 7 years ago
  Ethan Buchman 2761861b6b p2p: MinNumOutboundPeers. Closes #1501 7 years ago
  Ethan Buchman c23909eecf p2p/pex: minor cleanup and comments 7 years ago
  Ethan Buchman 936d1a0e68 some notes about the p2p layer 7 years ago
  Ethan Buchman 0cbbb61962 minor cleanup 7 years ago
  Anton Kaliaev 3a0edc561d
log error from AddrBook#AddAddress in DialPeersAsync 7 years ago
  Thomas Corbière ab00bf7c8b standardize PRNG access (#1411) 7 years ago
  Vladislav Dmitriyev 7c22e47629 Replaced NodeInfo's pubkey to ID (#1443) 7 years ago
  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