Christian Muehlhaeuser
038cff7946
Simplify increments ( #684 )
5 years ago
Raúl Kripalani
5df2167ca9
Removed ineffectual assignments ( #682 )
We don't use `cs` here, drop it.
5 years ago
Christian Muehlhaeuser
0603b30056
Make use of time.Until & time.Since ( #681 )
No need to manually subtract timestamps.
5 years ago
Christian Muehlhaeuser
40cb489097
Fixed typos ( #680 )
Just a few nit-picky typo fixes.
5 years ago
Christian Muehlhaeuser
a7ce9cc593
Removed ineffectual assignments
We don't use `cs` here, drop it.
5 years ago
Raúl Kripalani
15764f7bb2
Merge pull request #674 from libp2p/fix/test-races
Fix racy and failing test cases.
5 years ago
Raúl Kripalani
1cec1b9191
remove superfluous goroutine; avoid t.Fatal from goroutines.
5 years ago
Raúl Kripalani
8e4bc2ee2c
fix #672 : wait until done; fix ponger response.
5 years ago
Raúl Kripalani
4a8d3557c0
upgrade peerstore.
5 years ago
Raúl Kripalani
9797b07de4
TestStreamsStress: reduce node count, increase stream density.
5 years ago
Steven Allen
198633b285
Merge pull request #669 from libp2p/fix/host-teardown-once
fix: use the goprocess for closing
5 years ago
Steven Allen
3755b9afd6
test: full-close streams in stream stress test
5 years ago
Steven Allen
4c28cc75df
test: fix test fallout from notify push
5 years ago
Steven Allen
3a41aa03ac
test: mark helpers
5 years ago
Steven Allen
58fa778c37
dep: update go-libp2p-swarm to be less noisy
The noisy tests are getting annoying.
5 years ago
Steven Allen
97f639055e
test: ensure double-closing the host doesn't cause any issues
5 years ago
Steven Allen
428d7135a5
doc: ensure nobody tries to add teardown logic to the host close function again
5 years ago
Steven Allen
2f06021e0c
fix: use the goprocess for closing
fixes #668
5 years ago
Steven Allen
fbe833de27
Merge pull request #661 from libp2p/update-package-table
update package table after -core refactor
5 years ago
Yusef Napora
81697d5dbd
update package table after -core refactor
5 years ago
Raúl Kripalani
e69d17141c
integrate the event bus, handle protocol update events, make identify emit deltas ( #659 )
5 years ago
Steven Allen
f2cdce7b0c
Merge pull request #656 from libp2p/fix/closing-connmgr
basic_host: ensure we close correctly when the context is canceled
5 years ago
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.
5 years ago
Steven Allen
90b13e6884
Merge pull request #655 from libp2p/readme/gostream
Add go-libp2p-gostream and go-libp2p-http to readme
5 years ago
Hector Sanjuan
4a3c8bf495
Add go-libp2p-gostream and go-libp2p-http to readme
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
5 years ago
Steven Allen
d69c889ad9
Merge pull request #654 from libp2p/fix/disable-coalescing
fix: update to non-coalescing yamux
6 years ago
Steven Allen
0635f49abb
fix: update to non-coalescing yamux
6 years ago
Raúl Kripalani
d87f89314c
Consolidate abstractions and core types into go-libp2p-core ( #601 )
6 years ago
vyzo
6813fdd0d1
gomod: update go-ws-transport
6 years ago
vyzo
29d536740b
gomod: update go-libp2p-circuit
6 years ago
vyzo
d3fad322ee
gomod: update go-libp2p-discovery
6 years ago
vyzo
6f25e76e56
gomod: update go-libp2p-circuit@v0.0.8
6 years ago
vyzo
58ac4c8110
gomod: update go-ws-transport
6 years ago
vyzo
cad2c649ac
gomod: update go-libp2p-autonat
6 years ago
Steven Allen
b39668c856
Merge pull request #642 from libp2p/dep/import-smux
dep: import go-smux-* into the libp2p org
6 years ago
Steven Allen
192e96f186
test: increase delay for backpressure
CI is really slow.
6 years ago
Steven Allen
26f880b899
dep: import go-smux-* into the libp2p org
0. I imported whyrusleeping/go-smux-* into go mod.
1. To handle post-1.0 tags, I renamed all of our "gx" tags to "gx/v..." as we
did with the rest of libp2p.
2. This broke _everything_ because `go mod` absolutely can't deal with deleted
tags if any transitive go.sum file mentions the tag.
3. To fix this, I first got rid of all mentions of these 2.x+incompatible tags.
4. Unfortunately, I realized this was still going to be a nightmare for
downstream users as a `go get github.com/libp2p/go-libp2p@latest` on a fresh
clone (no go mod cache) would fail. I didn't want to have to explain to all
of our downstream users "please delete your go.sum files!".
5. So I did what I should have done in the first place:
a. I restored those tags.
b. I forked all the whyrusleeping/go-smux-* repositories (and
whyrusleeping/yamux) into the libp2p org where.
c. I removed all tags but the _new_ go-mod tags on those new libp2p repos.
What does this mean for downstream users? If they manually import any of these
stream muxer repos, they'll have to fix their imports. Otherwise, it shouldn't
make a difference.
6 years ago
Steven Allen
535e8b8a7d
Merge pull request #641 from libp2p/dep/update-go-multiplexers
dep: update go-smux-*
6 years ago
Steven Allen
97d03a46b4
test: add a small delay to deal with write coalescing
6 years ago
Steven Allen
dea021f127
dep: update go-smux-*
And friends. Emergency release to handle some tags I deleted.
6 years ago
vyzo
946aa0e70d
gomod: update go-mplex@v0.0.3
6 years ago
vyzo
2cd90b84b3
Merge pull request #639 from libp2p/feat/connmgr-close
Close the connection manager
6 years ago
vyzo
3437213b5f
close connection manager
6 years ago
vyzo
661843a33b
gomod: update go-libp2p-interface-connmgr
6 years ago
vyzo
f3ed4cf7e8
gomod: update go-libp2p-peerstore@v0.0.6
6 years ago
vyzo
61de4e80fe
Merge pull request #637 from libp2p/feat/frequent-relay-advertisement
Frequent Relay Advertisements
6 years ago
vyzo
70c4f155e7
advertise for relay services every 30min
6 years ago
vyzo
0a221500fd
update use of discovery.FindPeers for new interface
6 years ago
vyzo
fc6f373465
gomod: update go-libp2p-discovery
6 years ago
vyzo
fb404b5c2a
gomod: update go-mplex
6 years ago