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

Print Swarm Listen On #228

Merged
merged 3 commits into from
Jun 25, 2022
Merged

Print Swarm Listen On #228

merged 3 commits into from
Jun 25, 2022

Conversation

farhoud
Copy link
Contributor

@farhoud farhoud commented Jun 21, 2022

Fixes #225

@farhoud farhoud requested a review from gitaaron June 21, 2022 11:34
for (const localip of ips) {
console.log(`Swarm listening on ${ma.toString().replace('0.0.0.0', localip)}/p2p/${peerId.toB58String()}`)}
} else {
console.log(`Swarm listening on ${ma.toString()}/p2p/${peerId.toB58String()}`)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'swarm' could mean many things - perhaps we should just use the name of the application listening? 'Box listening on...'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I just mimic the js-ipfs. We can change it.

@gitaaron
Copy link
Contributor

gitaaron commented Jun 21, 2022 via email

@farhoud farhoud merged commit 01b99fe into functionland:main Jun 25, 2022
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.

log multiaddr
2 participants