Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: open stream in bitswap check to ensure holepunching succeeeds before timeout #43

Merged
merged 5 commits into from
Aug 1, 2024

Conversation

2color
Copy link
Contributor

@2color 2color commented Jul 31, 2024

What's in this PR

  • fix: open stream in bitswap check to holepunch
  • feat: allow passing in libp2p host: this should help consumers of vole to pass a libp2p host (that might already be connected to a peer) which should make running the bitswap checks quicker and more efficiently.

prevents the context deadline exceeded errors for p2p-circuit maddrs
@2color 2color requested a review from aschmahmann July 31, 2024 13:37
2color added a commit to ipfs/ipfs-check that referenced this pull request Jul 31, 2024
lib/bitswap.go Outdated Show resolved Hide resolved
lib/bitswap.go Show resolved Hide resolved
@aschmahmann aschmahmann merged commit d7b80a4 into main Aug 1, 2024
4 checks passed
@aschmahmann aschmahmann deleted the help-holepunch branch August 1, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants