Commit Graph

718 Commits

Author SHA1 Message Date
Aviv Eyal b3d54ab284 Sign all messages 2018-02-21 15:01:21 -08:00
Aviv Eyal 0874c5036e Refactoring 2018-02-21 15:01:21 -08:00
Aviv Eyal f1dd3185b4 Formatting 2018-02-21 15:01:21 -08:00
Aviv Eyal c6bfb4d945 Update node type 2018-02-21 15:01:21 -08:00
Aviv Eyal f0b185695a fixed typos 2018-02-21 15:01:21 -08:00
Aviv Eyal 3f926c52eb Apply go formatting 2018-02-21 15:01:21 -08:00
Aviv Eyal 54aa54a59a Updated comments 2018-02-21 15:01:21 -08:00
Aviv Eyal 01e1a19c3f updated readme and comments 2018-02-21 15:01:21 -08:00
Aviv Eyal 380ae70ddc Added multi-protocol using protobufs example 2018-02-21 15:01:21 -08:00
Steven Allen 784f1b4a71
Merge pull request #276 from libp2p/update-go-detect-race
Update go-detect-race to latest packaged version and location
2018-02-16 17:26:54 +00:00
Hector Sanjuan 34ed7b030b gx publish 5.0.15
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-16 11:28:40 +01:00
Hector Sanjuan cc1c2af4b7 Update go-detect-race to latest packaged version and location
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-02-16 11:26:39 +01:00
Whyrusleeping 69532e1c32
Merge pull request #272 from libp2p/tests/disable-mdns
Skip TestMdnsDiscovery
2018-02-14 11:34:18 -08:00
Łukasz Magiera 498c841eb9 Skip TestMdnsDiscovery 2018-02-14 16:04:14 +01:00
Steven Allen 4910211e39 gx publish 5.0.14 2018-01-31 18:54:09 -08:00
Steven Allen d7d20a44a6 gx publish 5.0.13 2018-01-30 13:51:27 -08:00
Steven Allen 5399fa40ab remove accidentally committed file 2018-01-28 19:34:28 -08:00
Steven Allen 2ae1424cd7
Merge pull request #269 from libp2p/fix/identify-test
make the identify test less racy
2018-01-28 05:57:01 +00:00
Steven Allen b624fe6020
Merge pull request #264 from dmbreaker/master
Added default muxer in case when none was provided.
2018-01-28 05:16:02 +00:00
Steven Allen 5f75373b53 make the identify test less racy 2018-01-27 21:14:08 -08:00
Steven Allen f5e43430a1
Merge pull request #267 from alholm/fix/256
mDNS discovery starts announcing right away
2018-01-28 05:10:55 +00:00
Steven Allen bb716abcf9 gx publish 5.0.12 2018-01-27 17:47:28 -08:00
vyzo 9170399893
Merge pull request #268 from chrisdostert/patch-1
add link to example implementation
2018-01-27 22:51:34 +02:00
Chris Dostert f50cbd5d8a
add link to example implementation 2018-01-27 06:56:01 -08:00
Alexey Kholupko 7c7bd31d3e mDNS discovery starts announcing right away: does not wait for first interval to elapse.
Closes #256
2018-01-27 16:32:58 +07:00
Steven Allen c9eddef068 gx publish 5.0.11 2018-01-19 22:57:58 -08:00
Steven Allen 3dd953f2ce
Merge pull request #265 from libp2p/fix/undead-peer-addrs
fix peerstore apocalypse redux
2018-01-20 06:57:16 +00:00
Steven Allen d7c4c0a202 add test for forgetting address records 2018-01-19 22:37:14 -08:00
Steven Allen ea95a94e78 register identify service netNotify
This way, we actually process disconnect notifications (and reduce the lifetime
on peer addr records).
2018-01-19 22:36:33 -08:00
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.
2018-01-19 21:52:22 -08:00
Steven Allen 64afdfef46 gx publish 5.0.10 2018-01-19 21:30:14 -08:00
Steven Allen 324724c877 remove useless go-base58 dep 2018-01-19 21:30:05 -08:00
Steven Allen d50a8b5568 gx publish 5.0.9 2018-01-19 20:52:29 -08:00
Dmitry Shipenok a3a4cf97f4 Added default muxer in case when none was provided.
Should fix 'echo' example.
2018-01-18 14:17:22 +03:00
Whyrusleeping 7db6e54f35
Merge pull request #241 from libp2p/feat/builder
first hack at a nice libp2p constructor
2018-01-07 12:41:58 -08:00
Jeromy 5824305949 import go-smux-multiplex 2018-01-07 12:23:01 -08:00
Jeromy bbbc040b60 incorporate lgierths opinions 2018-01-07 12:22:05 -08:00
Jeromy 8d84ecd01b functional parameters 2018-01-07 12:22:05 -08:00
Jeromy d04268054f use new constructor for examples 2018-01-07 12:22:05 -08:00
Jeromy c937b88e45 review feedback 2018-01-07 12:22:05 -08:00
Jeromy f34163e3a3 first hack at a nice libp2p constructor 2018-01-07 12:22:05 -08:00
Steven Allen 4bba0bb6b8
Merge pull request #260 from nuxibyte/master
Fixed typo.
2017-12-29 16:45:31 +00:00
Errol Chevannes 835b66ab73
Fixed typo. 2017-12-29 15:14:46 +00:00
Steven Allen 8850e513e1
Merge pull request #244 from libp2p/kevina/travisci
Update Travis CI to use new test script and go 1.9.x
2017-12-05 00:57:43 +00:00
Kevin Atkinson c81d138533 Disable sudo in Travis CI. 2017-12-04 16:52:42 -08:00
Kevin Atkinson 6472556d6f Update Travis CI to use new test script and go 1.9.x 2017-12-04 16:52:42 -08:00
Steven Allen edb6434ddf gx publish 5.0.8 2017-12-05 00:52:01 +00:00
Steven Allen e4966ffb3e
Merge pull request #246 from libp2p/gx/update-steb
update gx deps
2017-11-20 14:11:03 -08:00
Steven Allen 22b513067a gx publish 5.0.7 2017-11-20 14:07:36 -08:00
Steven Allen 2bd07bfcea update gx deps
* msgio (moved)
* secio
* testutil
2017-11-20 14:07:32 -08:00