Skip to content

Peerstore Fix#128

Merged
jbenet merged 11 commits intomasterfrom
feat/peerstorefix
Sep 27, 2014
Merged

Peerstore Fix#128
jbenet merged 11 commits intomasterfrom
feat/peerstorefix

Conversation

@jbenet
Copy link
Copy Markdown
Member

@jbenet jbenet commented Sep 26, 2014

This PR changes Net, Swarm, SecurePipe to take a Peerstore.
Whenever they interact with a new peer (say, an incomming conn,
or by somebody calling Dial), it adds the given peer to the Peerstore.

This should fix the problem where peers are at some point given to the
network and/or dht that are not in the peerstore at all. (this panics
atm, to find bugs).

@jbenet jbenet self-assigned this Sep 26, 2014
@jbenet
Copy link
Copy Markdown
Member Author

jbenet commented Sep 26, 2014

@whyrusleeping
Copy link
Copy Markdown
Member

lol...

@jbenet
Copy link
Copy Markdown
Member Author

jbenet commented Sep 27, 2014

CR pls?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

such a large string!

@whyrusleeping
Copy link
Copy Markdown
Member

Just a few comments, otherwise, LGTM

@jbenet
Copy link
Copy Markdown
Member Author

jbenet commented Sep 27, 2014

@whyrusleeping addressed comments

@whyrusleeping
Copy link
Copy Markdown
Member

Yeah, everything looks great! merge it!

jbenet added a commit that referenced this pull request Sep 27, 2014
@jbenet jbenet merged commit 8b68776 into master Sep 27, 2014
@jbenet jbenet deleted the feat/peerstorefix branch September 27, 2014 08:39
@aschmahmann aschmahmann mentioned this pull request Feb 18, 2021
73 tasks
laurentsenta pushed a commit to laurentsenta/kubo that referenced this pull request Feb 25, 2022
Add config for downloading repo migrations
laurentsenta pushed a commit to laurentsenta/kubo that referenced this pull request Feb 25, 2022
…config

Add config for downloading repo migrations
laurentsenta pushed a commit to laurentsenta/kubo that referenced this pull request Mar 4, 2022
…config

Add config for downloading repo migrations
laurentsenta pushed a commit to laurentsenta/kubo that referenced this pull request Mar 4, 2022
…config

Add config for downloading repo migrations
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