239 Commits (2eba38051a83bad0a8fdd96736f42b95931025f7)

Author SHA1 Message Date
  Anton Kaliaev 205d8b8062
fixes after @xla review 7 years ago
  Anton Kaliaev 84812145cb
friendly apis for constructors 7 years ago
  Anton Kaliaev 19699d644f
p2p metric, make height and totalTxs gauges 7 years ago
  Alexander Simmerl c661a3ec21
Fix race when mutating MConnConfig 7 years ago
  Alexander Simmerl ea896865a7
Collapse PeerConfig into P2PConfig 7 years ago
  Alexander Simmerl 3255c076e5
Remove auth_enc config option 7 years ago
  Ethan Buchman d454b1b25f SkipDuplicate -> AllowDuplicate; fix p2p test on mac 7 years ago
  Alexander Simmerl 5796e879b9
Introduce option to skip duplicate ip check 7 years ago
  Anton Kaliaev 2a0e9f93ce
provide arg to error 7 years ago
  Alexander Simmerl 01fd102dba
Incoporate review feedback 7 years ago
  Alexander Simmerl 91b6d3f18c
Do not set address for self error 7 years ago
  Alexander Simmerl 77f09f5b5e
Move to ne.IP 7 years ago
  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