Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Question about FindPeers #59

Closed
LiMoMoMo opened this issue Mar 27, 2019 · 0 comments
Closed

Question about FindPeers #59

LiMoMoMo opened this issue Mar 27, 2019 · 0 comments

Comments

@LiMoMoMo
Copy link

LiMoMoMo commented Mar 27, 2019

the PeerInfo got from FindPeers has EMPTY Addrs.

bootnode: A
node: B
node: C
B and C all connected to bootnode A.
B called discovery.Advertise(somestring), then C call routingDiscovery.FindPeers(somestring), it can get PeerInfo with B's ID and Addrs.
But after maybe 10 minutes, C call routingDiscovery.FindPeers(somestring) only get PeerInfo with B's ID but has no Addrs, the node B is online when C calledroutingDiscovery.FindPeers(somestring).

After reboot B, C can get Addrs from routingDiscovery.FindPeers(somestring) immediatly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant