go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

p2p/autorelay: use reservation addrs, remove addrsplosion

Open sashass1315 opened this issue 4 months ago • 2 comments

  • Updated getCircuitAddrs to build /p2p-circuit addrs from rsvp.Addrs
  • Inlined isRelayAddr into relay_finder.go
  • Removed cleanupAddressSet and deleted addrsplosion.go + its tests
  • Dropped obsolete heuristic in favor of relay-provided addresses

sashass1315 avatar Aug 26 '25 11:08 sashass1315

Can you please share the motivation for this change?

MarcoPolo avatar Sep 03 '25 19:09 MarcoPolo

Can you please share the motivation for this change?

// TODO: Remove this, we don't need this. The current method tries to select the // best address for the relay. Instead we should rely on the addresses provided by the // relay in response to the reservation request

sashass1315 avatar Sep 04 '25 05:09 sashass1315