Commit Graph

592 Commits

Author SHA1 Message Date
Steven Allen db0b3ee9b8 gx: import deps 2017-07-18 17:28:38 -07:00
Jeromy Johnson 2308756613 Merge pull request #204 from libp2p/feat/connmgr
Feat/connmgr
2017-07-12 00:22:00 -07:00
Jeromy f9e0e7345c bump travis to go1.8 2017-07-12 00:11:54 -07:00
Jeromy 4de85757f7 gx publish 4.4.2 2017-07-11 23:27:51 -07:00
Jeromy a71ee6e60d update deps 2017-07-11 23:27:48 -07:00
Jeromy 665234f694 WIP: add ConnManager interface method 2017-07-11 23:20:27 -07:00
Jeromy dfaa021cd7 gx publish 4.4.1 2017-07-11 16:08:52 -07:00
Lars Gierth 6c79ee2fc0 gx publish 4.4.0 2017-07-08 20:14:16 +02:00
Lars Gierth 644df8e0e7 Merge pull request #199 from enzoh/master
Publicize NAT manager struct
2017-06-06 16:59:08 +02:00
Lars Gierth b535f3fa2e Merge pull request #201 from libp2p/gx/update-v3gbwb
gx: update go-addr-util, go-libp2p-swarm
2017-06-06 03:16:39 +02:00
Lars Gierth e06e742637 gx: update go-addr-util, go-libp2p-swarm 2017-06-06 03:07:44 +02:00
Lars Gierth 6fff9e6d56 Merge pull request #200 from libp2p/fix/rm-ws-dep
Remove old dependency on ws-transport
2017-06-06 02:53:38 +02:00
Lars Gierth c8094d8e49 Remove old dependency on ws-transport 2017-06-06 02:37:55 +02:00
Enzo Haussecker e9c24fdc2d Create interface for NAT manager 2017-06-04 21:33:27 -07:00
Enzo Haussecker e571f8a3fb Publicize NAT manager struct 2017-06-03 04:32:47 -07:00
Jeromy Johnson 08c8d6f794 Merge pull request #197 from libp2p/feat/refactor-basichost-new
basichost: refactor BasicHost construction
2017-05-31 12:56:41 -07:00
Lars Gierth f0453a2458 basichost: refactor BasicHost construction
There were previously 4 different ways of passing various options
into BasicHost construction.

1. Function parameters to New
2. Option parameters to New
3. Global variables, e.g. NegotiateTimeout
4. Options struct, in the calling code in go-ipfs

This changeset deprecated all of these, and introduces the HostOpts
struct to replace them. It also introduces a new constructor called
NewHost, which accepts a *HostOpts.

The old New constructor continues to work the same way,
but is from now on deprecated too.
2017-05-31 02:30:29 +02:00
Jeromy Johnson 78dabda41f Merge pull request #196 from libp2p/feat/addresses-announce
basichost: allow overriding Addrs()
2017-05-30 17:12:09 -07:00
Lars Gierth 6cbb93905b basichost: allow overriding Addrs() 2017-05-30 20:39:08 +02:00
Lars Gierth be827c6ae8 gx publish 4.3.12 2017-05-29 15:16:01 +02:00
Lars Gierth a7181650de Merge pull request #195 from libp2p/gx/update-5pauf0
gx: update go-libp2p-peerstore
2017-05-27 23:10:52 +02:00
Lars Gierth 1abb84dc99 gx: update go-libp2p-peerstore 2017-05-27 05:08:37 +02:00
Jeromy 5132c763e3 update example to make it easy to swap out stream muxer 2017-05-13 23:50:46 -07:00
Jakub Sztandera 9026479669 Merge pull request #192 from ericxtang/patch-1
typo
2017-04-26 20:37:12 +02:00
Eric Tang 5b297b7160 typo 2017-04-26 13:17:21 -04:00
Jakub Sztandera d8565dd10d Merge pull request #191 from libp2p/feat/identify/smarter-obsaddrs
Improve ObservedAddrSet behaviour
2017-04-24 23:01:28 +02:00
Jakub Sztandera ed98e37176
Extend time of observation by the factor of ActivationThresh 2017-04-24 20:26:15 +02:00
Jakub Sztandera 955ebe34a7
Fix obsaddr_test compare function 2017-04-24 20:26:15 +02:00
Jakub Sztandera 356f5ab17d
Modify ObservedAddrSet to better detect our active addrs 2017-04-24 20:26:10 +02:00
Jeromy Johnson c5aa669df5 Merge pull request #185 from libp2p/libp2p-examples
Libp2p examples
2017-03-30 10:08:45 -07:00
Hector Sanjuan 93802a4007 Add http proxy example
The example proxies http requests through a libp2p stream.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-30 11:14:19 +02:00
Jeromy 74390ca5e5 gx publish 4.3.11 2017-03-24 18:30:08 -07:00
Jeromy Johnson 84a52b639d Merge pull request #187 from libp2p/feat/tutorials
add first tutorial, showing creation of a host
2017-03-22 12:30:44 -07:00
Jeromy 5d5c9f993a don't use 'test' ID generation in tutorial 2017-03-22 11:39:11 -07:00
Hector Sanjuan 9706590149 Add example on how to use multicodecs to encode/decode data on a stream
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-22 18:12:18 +01:00
Hector Sanjuan 7e11c6008b Docs: Improve echo example
* Do not use testutil to generate random keys and ids since this is a testing
dependency. Use crypto.GenerateKeyPair() instead.
* Echo full lines
* Improve output by telling the user what to run
* More code comments

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-22 18:12:18 +01:00
Jeromy 2362b05a53 add first tutorial, showing creation of a host 2017-03-17 12:15:11 -07:00
Jeromy Johnson a1240fddcd Merge pull request #184 from libp2p/feat/rm-relay
Remove relay protocol (and roadmap.md)
2017-03-14 00:51:23 -07:00
Lars Gierth 5a36062cc6 Remove outdated roadmap 2017-03-12 03:37:48 +01:00
Lars Gierth 12f881c55a Remove unused and unfit relay protocol 2017-03-12 03:37:01 +01:00
Jeromy Johnson 51ad894515 Merge pull request #181 from zippy/master
more imports cleanup, another dup.
2017-03-08 18:31:49 -08:00
Jeromy ff5be0e63b seed rand for generation of peer IDs in echo example 2017-03-06 23:23:48 -08:00
Jeromy 000cca0469 gx publish 4.3.10 2017-03-05 18:47:47 -08:00
Eric Harris-Braun 0f0a36c62c more imports cleanup, another dup. 2017-02-22 08:37:38 -05:00
Jeromy Johnson 1b406994dc Merge pull request #180 from zippy/master
imports cleanup, remove dup
2017-02-21 11:26:33 -08:00
Eric Harris-Braun db919af600 imports cleanup, remove dup 2017-02-21 13:45:42 -05:00
Jeromy 75ba71bd09 gx publish 4.3.9 2017-02-03 13:44:13 -08:00
Jeromy df96bea9ba gx publish 4.3.8 2017-02-03 13:07:34 -08:00
Jeromy 25fc87ba10 gx publish 4.3.7 2017-02-03 11:08:47 -08:00
Jeromy 376dafc690 gx publish 4.3.6 2017-02-02 18:20:04 -08:00