Steven Allen
5399fa40ab
remove accidentally committed file
7 years ago
Steven Allen
2ae1424cd7
Merge pull request #269 from libp2p/fix/identify-test
make the identify test less racy
7 years ago
Steven Allen
b624fe6020
Merge pull request #264 from dmbreaker/master
Added default muxer in case when none was provided.
7 years ago
Steven Allen
5f75373b53
make the identify test less racy
7 years ago
Steven Allen
f5e43430a1
Merge pull request #267 from alholm/fix/256
mDNS discovery starts announcing right away
7 years ago
Steven Allen
bb716abcf9
gx publish 5.0.12
7 years ago
vyzo
9170399893
Merge pull request #268 from chrisdostert/patch-1
add link to example implementation
7 years ago
Chris Dostert
f50cbd5d8a
add link to example implementation
7 years ago
Alexey Kholupko
7c7bd31d3e
mDNS discovery starts announcing right away: does not wait for first interval to elapse.
Closes #256
7 years ago
Steven Allen
c9eddef068
gx publish 5.0.11
7 years ago
Steven Allen
3dd953f2ce
Merge pull request #265 from libp2p/fix/undead-peer-addrs
fix peerstore apocalypse redux
7 years ago
Steven Allen
d7c4c0a202
add test for forgetting address records
7 years ago
Steven Allen
ea95a94e78
register identify service netNotify
This way, we actually process disconnect notifications (and reduce the lifetime
on peer addr records).
7 years ago
Steven Allen
096a2c8303
fix peerstore apocalypse redux
This commit prevents us from repeatedly extending the lifetimes of all observed
addresses if a peer keeps on reconnecting.
It also fixes two race conditions:
1. We may end up processing a disconnect after a re-connect and may
accidentally give the addresses associated with that peer a
RecentlyConnectedAddrTTL instead of a ConnectedAddrTTL.
2. We may end up processing a connect after the associated disconnect storing
the associated peer addresses indefinitely.
7 years ago
Steven Allen
64afdfef46
gx publish 5.0.10
7 years ago
Steven Allen
324724c877
remove useless go-base58 dep
7 years ago
Steven Allen
d50a8b5568
gx publish 5.0.9
7 years ago
Dmitry Shipenok
a3a4cf97f4
Added default muxer in case when none was provided.
Should fix 'echo' example.
7 years ago
Whyrusleeping
7db6e54f35
Merge pull request #241 from libp2p/feat/builder
first hack at a nice libp2p constructor
7 years ago
Jeromy
5824305949
import go-smux-multiplex
7 years ago
Jeromy
bbbc040b60
incorporate lgierths opinions
7 years ago
Jeromy
8d84ecd01b
functional parameters
7 years ago
Jeromy
d04268054f
use new constructor for examples
7 years ago
Jeromy
c937b88e45
review feedback
7 years ago
Jeromy
f34163e3a3
first hack at a nice libp2p constructor
7 years ago
Steven Allen
4bba0bb6b8
Merge pull request #260 from nuxibyte/master
Fixed typo.
7 years ago
Errol Chevannes
835b66ab73
Fixed typo.
7 years ago
Steven Allen
8850e513e1
Merge pull request #244 from libp2p/kevina/travisci
Update Travis CI to use new test script and go 1.9.x
7 years ago
Kevin Atkinson
c81d138533
Disable sudo in Travis CI.
7 years ago
Kevin Atkinson
6472556d6f
Update Travis CI to use new test script and go 1.9.x
7 years ago
Steven Allen
edb6434ddf
gx publish 5.0.8
7 years ago
Steven Allen
e4966ffb3e
Merge pull request #246 from libp2p/gx/update-steb
update gx deps
7 years ago
Steven Allen
22b513067a
gx publish 5.0.7
7 years ago
Steven Allen
2bd07bfcea
update gx deps
* msgio (moved)
* secio
* testutil
7 years ago
Jakub Sztandera
ebbd3bc7b4
Merge pull request #245 from libp2p/kevina/fix-go-vet
Fix "go vet" errors.
7 years ago
Steven Allen
62f92f7e73
always make the host context cancelable
There's really no reason to *only* do this if we have relays enabled. Doing it
this way makes `go vet` happier and reduces conditional logic.
7 years ago
Kevin Atkinson
af895a81d5
Fix most "go vet" errors.
7 years ago
Steven Allen
9e3cf0831d
gx publish 5.0.6
7 years ago
Steven Allen
bb423428a0
Merge pull request #239 from libp2p/gx/update-lxc2hc
gx: update go-peerstream
7 years ago
Steven Allen
d602f3e181
gx publish 5.0.5
7 years ago
Jeromy Johnson
7896147417
Merge pull request #237 from libp2p/connmgr-updates
Connmgr updates
7 years ago
Jeromy
a0500eb7b3
gx publish 5.0.4
7 years ago
Jeromy
85d0247d16
use connmgr interface instead of connmgr directly
7 years ago
Jeromy
542b066277
gx publish 5.0.3
7 years ago
Jeromy Johnson
4ec7313454
Merge pull request #233 from metacurrency/master
allow tag to be passed into NewMdnsService
7 years ago
Eric Harris-Braun
9d3b90d67e
allow tag to be passed into NewMdnsService
7 years ago
Jakub Sztandera
0bef0c7426
Merge pull request #232 from libp2p/fix/log-message
basic_host: fix warning message
7 years ago
vyzo
ecb14089a7
basic_host: fix warning message
7 years ago
Steven Allen
7cb4b74841
gx publish 5.0.2
7 years ago
Steven Allen
12e8dfaa3d
gx publish 5.0.1
7 years ago