Make active reservations more visible to the host #4470
Replies: 2 comments 5 replies
-
| 
         That might be a nice to have, though may vary from use-case to use-case, however if im understanding your motivation correctly, you could possibly do this on your part by using the events related to a new listener (eg   | 
  
Beta Was this translation helpful? Give feedback.
-
        
 Can you expans on this? I am happy to add APIs if a certain usecase is unsupported at the moment. If you can achieve your usecase by doing some more state tracking outside the   | 
  
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently there is only one way to know which peers have made a reservation to the relay, which is by listening on events emitted by the behaviour. It's too much of a hassle so I wonder if we can provide a method on
libp2p::relay::Behaviourto access active reservations.This feature is small and nice-to-have. The main motivation is that I want to make peers that have made a reservation(listening on the relay) be able to advertise themselves through a protocol hooked up to the
relayprotocol.Beta Was this translation helpful? Give feedback.
All reactions