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

examples: chat-with-rendezvous: Bootstrap after connecting to bootstrappers #2137

Closed
wants to merge 1 commit into from

Conversation

MarcoPolo
Copy link
Collaborator

I think this is the right thing to do? The other way would work eventually because of the background timer.

@p-shahi p-shahi requested a review from sukunrt June 27, 2023 20:17
Copy link
Contributor

@Jorropo Jorropo left a comment

Choose a reason for hiding this comment

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

I would remove the connection thing completely.

Comment on lines 122 to 123
// Let's connect to the bootstrap nodes first. They will tell us about the
// other nodes in the network.
Copy link
Contributor

Choose a reason for hiding this comment

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

This shouldn't be needed, we do it in Kubo too but I think this is wrong.

We could pass BootstrapPeers option so the DHT handles this itself.

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