196 Commits (40342bfa4af115d7f06605225583a990b5771624)

Author SHA1 Message Date
  Anton Kaliaev b31ee798bd
preserve original address and dial it instead of self-reported address (#1994) 6 years ago
  Zach Ramsay 44dad6d70b Revert "detele everything" 6 years ago
  Zach Ramsay d02c5d1e30 detele everything 6 years ago
  Ethan Buchman d55243f0e6 fix import paths 6 years ago
  Anton Kaliaev 61c5791fa3
revert back to Jae's original payload size limit 6 years ago
  Liamsi d2c05bc5b9 Revert "delete everything" (includes everything non-go-crypto) 6 years ago
  Liamsi 96a3502126 delete everything 6 years ago
  Anton Kaliaev 205d8b8062
fixes after @xla review 6 years ago
  Anton Kaliaev 84812145cb
friendly apis for constructors 6 years ago
  Anton Kaliaev 19699d644f
p2p metric, make height and totalTxs gauges 6 years ago
  Alexander Simmerl c661a3ec21
Fix race when mutating MConnConfig 6 years ago
  Alexander Simmerl ea896865a7
Collapse PeerConfig into P2PConfig 6 years ago
  Alexander Simmerl 3255c076e5
Remove auth_enc config option 6 years ago
  Ethan Buchman d454b1b25f SkipDuplicate -> AllowDuplicate; fix p2p test on mac 6 years ago
  Alexander Simmerl 5796e879b9
Introduce option to skip duplicate ip check 6 years ago
  Anton Kaliaev 2a0e9f93ce
provide arg to error 6 years ago
  Alexander Simmerl 01fd102dba
Incoporate review feedback 6 years ago
  Alexander Simmerl 91b6d3f18c
Do not set address for self error 6 years ago
  Alexander Simmerl 77f09f5b5e
Move to ne.IP 6 years ago
  Ethan Buchman 1fe41be929
p2p: prevent connections from same ip 6 years ago
  Ethan Buchman 68a0b3f95b version bump. add roadmap back. minor fixes 6 years ago
  Ethan Buchman fae94a44a2 p2p/pex: some addrbook fixes 6 years ago
  Ethan Buchman c90bf77566 rpc: add n_peers to /net_info 6 years ago
  Ethan Buchman 6805ddf1b8 p2p: change some logs from Error to Debug. #1476 6 years ago
  Ethan Buchman 2761861b6b p2p: MinNumOutboundPeers. Closes #1501 6 years ago
  Ethan Buchman c23909eecf p2p/pex: minor cleanup and comments 6 years ago
  Ethan Buchman 936d1a0e68 some notes about the p2p layer 6 years ago
  Ethan Buchman 0cbbb61962 minor cleanup 6 years ago
  Anton Kaliaev 3a0edc561d
log error from AddrBook#AddAddress in DialPeersAsync 6 years ago
  Thomas Corbière ab00bf7c8b standardize PRNG access (#1411) 6 years ago
  Vladislav Dmitriyev 7c22e47629 Replaced NodeInfo's pubkey to ID (#1443) 6 years ago
  Javed Khan 54adb790f2
p2p: switch - reconnect only if persistent 6 years ago
  Anton Kaliaev 3233c318ea
only log errors, dial correct addresses 6 years ago
  Anton Kaliaev 6e39ec6e26
do not even try to dial ourselves 6 years ago
  Anton Kaliaev 7f6ee7a46b
add a comment for NewSwitch 6 years ago
  Anton Kaliaev 3b3f45d49b
use addrbook#AddOurAddress to store our address 6 years ago
  Anton Kaliaev 4b8e342309
fix panic: lookup testing on 10.0.2.3:53: no such host 6 years ago
  Anton Kaliaev 5a2fa71b03
use combination of IP and port, not just IP 6 years ago
  Anton Kaliaev 9a57ef9cbf
do not dial ourselves (ok, maybe just once) 6 years ago
  Javed Khan 5ef639fcbe
p2p: persistent - redial if first dial fails 6 years ago
  Jae Kwon 901b456151 P2P now works with Amino 6 years ago
  Anton Kaliaev 214817ed17
do not add peer to switch if it fails to start 6 years ago
  Anton Kaliaev 714f885dac
mark peer as good if it contributed enough votes or block parts 6 years ago
  Ethan Buchman 9293ae76bf p2p: introduce peerConn to simplify peer creation (#1226) 6 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