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.
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 callroutingDiscovery.FindPeers(somestring)
, it can get PeerInfo with B's ID and Addrs. But after maybe 10 minutes, C callroutingDiscovery.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.