Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Add relaying for to peerbook #223

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

macpie
Copy link
Member

@macpie macpie commented Sep 26, 2019

No description provided.

@macpie macpie force-pushed the professor/ch4823/move-from-connected-peers-to-gossiping-who branch from fb2d561 to 4837ce5 Compare September 26, 2019 23:23
false;
{ok, Peer} ->
ListenAddresses = libp2p_peer:listen_addrs(Peer),
lists:any(fun libp2p_relay:is_p2p_circuit/1, ListenAddresses)
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't we be asking the relay server itself who we're relaying for?

@evanmcc
Copy link
Contributor

evanmcc commented Mar 5, 2020

I think that this can be closed.

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.

2 participants