libp2p / libp2p/go-libp2p

Swarm.InterfaceListenAddresses returns an error when we're not listening on anything

Open
#564 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/bug
Dominant language
Go
Stars
6.9k
Forks
1.3k
Avg merge
13d 21h
Merged PRs (30d)
1

Description

Due to https://github.com/libp2p/go-addr-util/issues/20. Unfortunately, this means go-ipfs can't be configured to listen on nothing.

Note: Enabling the relay counts as listening on something.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing Swarm.InterfaceListenAddresses and the behavior described in go-addr-util issue 20. Verify the no-listening configuration, including the note that enabling the relay counts as listening; done means the method no longer returns an error when nothing is being listened on.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.