vyzo
fd23cf6fa5
basic_host: add the relay after the host construction is complete
7 years ago
vyzo
b97f1c5f56
gx: update go-libp2p-circuit to 1.1.3
7 years ago
vyzo
674256ec4d
update go-libp2p-circuit dependency to 1.1.1
7 years ago
vyzo
7f1ffcbd4e
basic_host: NewHost: don't panic on relay errors, return an error instead
The legacy interface stays unchanged with a panic though.
7 years ago
vyzo
3b6d61122f
basic_host: integrate circuit relay as a transport with an option
7 years ago
Steven Allen
77af18a9c5
Merge pull request #212 from libp2p/gx/update-oq3pfr
gx: update go-testutil
7 years ago
Steven Allen
7be1f0c269
gx publish 4.4.5
7 years ago
Steven Allen
f2df5a92c5
gx publish 4.4.4
7 years ago
Steven Allen
d50c54fea7
gx publish 4.4.3
7 years ago
vyzo
41207dbb0a
Merge pull request #208 from libp2p/fix/routed/peer-addrs
RoutedHost: NewStream ensures we have the means to connect to the peer
7 years ago
vyzo
3b2f464171
RoutedHost: use Connect directly in NewStream
7 years ago
vyzo
daaf97b416
RoutedHost: NewStram ensures we have the means to connect to the peer
7 years ago
Steven Allen
db0b3ee9b8
gx: import deps
7 years ago
Jeromy Johnson
2308756613
Merge pull request #204 from libp2p/feat/connmgr
Feat/connmgr
7 years ago
Jeromy
f9e0e7345c
bump travis to go1.8
7 years ago
Jeromy
4de85757f7
gx publish 4.4.2
7 years ago
Jeromy
a71ee6e60d
update deps
7 years ago
Jeromy
665234f694
WIP: add ConnManager interface method
7 years ago
Jeromy
dfaa021cd7
gx publish 4.4.1
7 years ago
Lars Gierth
6c79ee2fc0
gx publish 4.4.0
7 years ago
Lars Gierth
644df8e0e7
Merge pull request #199 from enzoh/master
Publicize NAT manager struct
8 years ago
Lars Gierth
b535f3fa2e
Merge pull request #201 from libp2p/gx/update-v3gbwb
gx: update go-addr-util, go-libp2p-swarm
8 years ago
Lars Gierth
e06e742637
gx: update go-addr-util, go-libp2p-swarm
8 years ago
Lars Gierth
6fff9e6d56
Merge pull request #200 from libp2p/fix/rm-ws-dep
Remove old dependency on ws-transport
8 years ago
Lars Gierth
c8094d8e49
Remove old dependency on ws-transport
8 years ago
Enzo Haussecker
e9c24fdc2d
Create interface for NAT manager
8 years ago
Enzo Haussecker
e571f8a3fb
Publicize NAT manager struct
8 years ago
Jeromy Johnson
08c8d6f794
Merge pull request #197 from libp2p/feat/refactor-basichost-new
basichost: refactor BasicHost construction
8 years ago
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.
8 years ago
Jeromy Johnson
78dabda41f
Merge pull request #196 from libp2p/feat/addresses-announce
basichost: allow overriding Addrs()
8 years ago
Lars Gierth
6cbb93905b
basichost: allow overriding Addrs()
8 years ago
Lars Gierth
be827c6ae8
gx publish 4.3.12
8 years ago
Lars Gierth
a7181650de
Merge pull request #195 from libp2p/gx/update-5pauf0
gx: update go-libp2p-peerstore
8 years ago
Lars Gierth
1abb84dc99
gx: update go-libp2p-peerstore
8 years ago
Jeromy
5132c763e3
update example to make it easy to swap out stream muxer
8 years ago
Jakub Sztandera
9026479669
Merge pull request #192 from ericxtang/patch-1
typo
8 years ago
Eric Tang
5b297b7160
typo
8 years ago
Jakub Sztandera
d8565dd10d
Merge pull request #191 from libp2p/feat/identify/smarter-obsaddrs
Improve ObservedAddrSet behaviour
8 years ago
Jakub Sztandera
ed98e37176
Extend time of observation by the factor of ActivationThresh
8 years ago
Jakub Sztandera
955ebe34a7
Fix obsaddr_test compare function
8 years ago
Jakub Sztandera
356f5ab17d
Modify ObservedAddrSet to better detect our active addrs
8 years ago
Jeromy Johnson
c5aa669df5
Merge pull request #185 from libp2p/libp2p-examples
Libp2p examples
8 years ago
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>
8 years ago
Jeromy
74390ca5e5
gx publish 4.3.11
8 years ago
Jeromy Johnson
84a52b639d
Merge pull request #187 from libp2p/feat/tutorials
add first tutorial, showing creation of a host
8 years ago
Jeromy
5d5c9f993a
don't use 'test' ID generation in tutorial
8 years ago
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>
8 years ago
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>
8 years ago
Jeromy
2362b05a53
add first tutorial, showing creation of a host
8 years ago
Jeromy Johnson
a1240fddcd
Merge pull request #184 from libp2p/feat/rm-relay
Remove relay protocol (and roadmap.md)
8 years ago