Skip to content
This repository was archived by the owner on Aug 23, 2021. It is now read-only.

feat: add dht.findPeer command #58

Merged
merged 2 commits into from
Apr 5, 2019

Conversation

nijynot
Copy link
Contributor

@nijynot nijynot commented Apr 5, 2019

Resolves #47 and fixes some lint errors that I got from the levels tests.

Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

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

❤️ thanks for the PR!

multiaddrs.push(Multiaddr(addr))
}

return multiaddrs
Copy link
Member

Choose a reason for hiding this comment

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

It could take a long time to collect all of these addresses - we should return an iterator here so that we can stream addresses to the caller as they're discovered.

@nijynot nijynot force-pushed the feat/dht-findpeer branch from 6b76f96 to c21508a Compare April 5, 2019 14:55
Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

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

🚀 fantastic, thank you 👍

@alanshaw alanshaw merged commit f17cc34 into filecoin-shipyard:master Apr 5, 2019
@nijynot nijynot deleted the feat/dht-findpeer branch April 6, 2019 11:13
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 command dht.findPeer
2 participants