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

Add a few more methods to Swarm and PollParameters #721

Merged
merged 2 commits into from Dec 4, 2018

Conversation

tomaka
Copy link
Member

@tomaka tomaka commented Dec 4, 2018

Adds Swarm::local_peer_id, PollParameters::listened_addresses, PollParameters::local_public_key, PollParameters::local_peer_id.

The consequence is that the user now needs to pass the PublicKey when creating the Swarm.

@ghost ghost assigned tomaka Dec 4, 2018
@ghost ghost added the in progress label Dec 4, 2018
@tomaka tomaka merged commit 10d76d6 into libp2p:master Dec 4, 2018
@tomaka tomaka deleted the swarm-improv branch December 4, 2018 12:54
@ghost ghost removed the in progress label Dec 4, 2018
dvdplm added a commit to dvdplm/rust-libp2p that referenced this pull request Dec 6, 2018
* upstream/master:
  Rename all the network behaviours to more basic names (libp2p#726)
  Avoid some warnings. (libp2p#733)
  Add error messages for interrupt (libp2p#704)
  Remove relay, peerstore and datastore (libp2p#723)
  Don't add an address to the topology if it is already in (libp2p#724)
  Add a few more methods to Swarm and PollParameters (libp2p#721)
  Some changes to the main libp2p doc (libp2p#710)
  Don't wrap yamux::Connection in a mutex (libp2p#719)
  relay: Use `SliceRandom::shuffle`. (libp2p#722)
  Remove some boxed futures. (libp2p#718)
  Fix several errors reported by clippy. (libp2p#715)
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.

None yet

2 participants