Steven Allen
3bfc2cd839
ci: bump go to 1.12
2019-08-16 13:44:45 -07:00
Steven Allen
e337633824
set a default client-version using go modules
...
This should help us improve network stats on who's using libp2p.
2019-08-12 19:13:22 -07:00
Steven Allen
d73a51776e
new: allow overriding the user-agent with an option
...
Instead of using a global variable.
This also:
* Adds an option to the identify service to set the user agent.
* Removes the ability to pass an identify service to NewHost as any reasonable
Identify service already needs to be constructed with an instance of the host.
2019-08-12 19:13:21 -07:00
bigs
071f7de073
Merge pull request #697 from libp2p/feat/update-tests
...
Update deps, mocknet tests
2019-08-02 15:34:50 -08:00
Cole Brown
c385e71b52
Bump swarm version
2019-08-02 19:24:00 -04:00
Cole Brown
3e4400cc68
Bump secio
2019-08-02 19:02:59 -04:00
Cole Brown
c261182d50
Adjust test timings for Ed25519
2019-08-02 18:05:59 -04:00
Cole Brown
a80fc34f3a
Update deps, mocknet tests
2019-08-02 18:05:59 -04:00
vyzo
f30d04cce7
Merge pull request #696 from libp2p/fix/issue-695
...
autorelay: ensure candidate relays can hop
2019-08-02 21:28:29 +03:00
vyzo
b3085753dc
autorelay: ensure candidate relays can hop
2019-08-02 21:14:01 +03:00
vyzo
46b5513add
gomod: update go-libp2p-circuit
2019-08-02 21:12:51 +03:00
Steven Allen
2fbe88f546
Merge pull request #667 from libp2p/fix/listen-addrs-mdns
...
mdns: always use interface addresses
2019-07-22 15:42:39 -07:00
Christian Muehlhaeuser
c73d2b9c8e
Added missing error check in test ( #683 )
2019-07-22 13:46:45 +01:00
Christian Muehlhaeuser
169f2d4139
Avoid unnecessary conversions ( #685 )
...
No need to convert these types.
2019-07-22 13:46:15 +01:00
Christian Muehlhaeuser
038cff7946
Simplify increments ( #684 )
2019-07-22 13:45:37 +01:00
Raúl Kripalani
5df2167ca9
Removed ineffectual assignments ( #682 )
...
We don't use `cs` here, drop it.
2019-07-22 13:45:02 +01:00
Christian Muehlhaeuser
0603b30056
Make use of time.Until & time.Since ( #681 )
...
No need to manually subtract timestamps.
2019-07-22 13:44:47 +01:00
Christian Muehlhaeuser
40cb489097
Fixed typos ( #680 )
...
Just a few nit-picky typo fixes.
2019-07-22 13:44:24 +01:00
Christian Muehlhaeuser
a7ce9cc593
Removed ineffectual assignments
...
We don't use `cs` here, drop it.
2019-07-22 02:38:39 +02:00
Steven Allen
554a8e7bed
mdns: always use interface addresses
...
We don't want to use the transformed/munged host addresses for local
announcements. Ideally, we'd take a more scientific approach to this (i.e.,
"host, please give me addresses relative to X") but we can't do that yet.
2019-07-15 21:04:05 -07:00
Raúl Kripalani
15764f7bb2
Merge pull request #674 from libp2p/fix/test-races
...
Fix racy and failing test cases.
2019-07-12 12:52:14 +01:00
Raúl Kripalani
1cec1b9191
remove superfluous goroutine; avoid t.Fatal from goroutines.
2019-07-10 18:29:46 +01:00
Raúl Kripalani
8e4bc2ee2c
fix #672 : wait until done; fix ponger response.
2019-07-10 15:54:09 +01:00
Raúl Kripalani
4a8d3557c0
upgrade peerstore.
2019-07-10 15:54:09 +01:00
Raúl Kripalani
9797b07de4
TestStreamsStress: reduce node count, increase stream density.
2019-07-10 14:52:26 +01:00
Steven Allen
198633b285
Merge pull request #669 from libp2p/fix/host-teardown-once
...
fix: use the goprocess for closing
2019-07-04 16:52:45 -07:00
Steven Allen
3755b9afd6
test: full-close streams in stream stress test
2019-07-04 13:18:27 -07:00
Steven Allen
4c28cc75df
test: fix test fallout from notify push
2019-07-04 13:11:48 -07:00
Steven Allen
3a41aa03ac
test: mark helpers
2019-07-04 12:56:20 -07:00
Steven Allen
58fa778c37
dep: update go-libp2p-swarm to be less noisy
...
The noisy tests are getting annoying.
2019-07-04 12:55:10 -07:00
Steven Allen
97f639055e
test: ensure double-closing the host doesn't cause any issues
2019-07-04 12:47:33 -07:00
Steven Allen
428d7135a5
doc: ensure nobody tries to add teardown logic to the host close function again
2019-07-04 12:46:17 -07:00
Steven Allen
2f06021e0c
fix: use the goprocess for closing
...
fixes #668
2019-07-04 12:32:01 -07:00
Steven Allen
fbe833de27
Merge pull request #661 from libp2p/update-package-table
...
update package table after -core refactor
2019-06-27 14:14:35 +02:00
Yusef Napora
81697d5dbd
update package table after -core refactor
2019-06-26 10:05:45 -04:00
Raúl Kripalani
e69d17141c
integrate the event bus, handle protocol update events, make identify emit deltas ( #659 )
2019-06-24 14:44:47 +01:00
Steven Allen
f2cdce7b0c
Merge pull request #656 from libp2p/fix/closing-connmgr
...
basic_host: ensure we close correctly when the context is canceled
2019-06-13 13:23:50 -07:00
Steven Allen
1449765980
basic_host: ensure we close correctly when the context is canceled
...
As long as we _accept_ a context, we need to obey it.
2019-06-13 11:14:44 -07:00
Steven Allen
90b13e6884
Merge pull request #655 from libp2p/readme/gostream
...
Add go-libp2p-gostream and go-libp2p-http to readme
2019-06-12 01:10:41 -07:00
Hector Sanjuan
4a3c8bf495
Add go-libp2p-gostream and go-libp2p-http to readme
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2019-06-08 00:42:17 +02:00
Steven Allen
d69c889ad9
Merge pull request #654 from libp2p/fix/disable-coalescing
...
fix: update to non-coalescing yamux
2019-05-31 20:45:09 -07:00
Steven Allen
0635f49abb
fix: update to non-coalescing yamux
2019-05-31 20:36:29 -07:00
Raúl Kripalani
d87f89314c
Consolidate abstractions and core types into go-libp2p-core ( #601 )
2019-05-26 22:55:46 +01:00
vyzo
6813fdd0d1
gomod: update go-ws-transport
2019-05-24 15:09:25 +03:00
vyzo
29d536740b
gomod: update go-libp2p-circuit
2019-05-24 13:51:22 +03:00
vyzo
d3fad322ee
gomod: update go-libp2p-discovery
2019-05-24 12:40:38 +03:00
vyzo
6f25e76e56
gomod: update go-libp2p-circuit@v0.0.8
2019-05-22 20:55:20 +03:00
vyzo
58ac4c8110
gomod: update go-ws-transport
2019-05-22 11:57:05 +03:00
vyzo
cad2c649ac
gomod: update go-libp2p-autonat
2019-05-22 11:54:32 +03:00
Steven Allen
b39668c856
Merge pull request #642 from libp2p/dep/import-smux
...
dep: import go-smux-* into the libp2p org
2019-05-21 20:22:22 -07:00