Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Fix: favour providers peerInfo over sender peerInfo in ADD_PROVIDER #129

Merged
merged 1 commit into from
May 31, 2019

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented May 30, 2019

Fixes #128

Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

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

This looks good. We should create an issue to track the removal of this code and attach that to the IPFS dht enabled by default roll out. There are also some old api TODOs in the codebase that are marked for deprecation in "newer" versions that have already happened. I think we should do those as a part of this issue as well. cc: @vasco-santos

Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

LGTM

@vasco-santos
Copy link
Member

@jacobheun I will create that issue and discuss there! But shortly, my idea was to remove those TODO's (from deprecations at least) when we move to async iterators. That way, people using older APIs will only need to change once.

@vasco-santos vasco-santos merged commit 6da26b0 into master May 31, 2019
@vasco-santos vasco-santos deleted the fix/add-provider-handler branch May 31, 2019 09:50
@jacobheun
Copy link
Contributor

Ah yeah, that would be a better time to switch, good call.

@vasco-santos vasco-santos mentioned this pull request May 31, 2019
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ADD_PROVIDER RPC handling
3 participants