helium / sibyl

Apache License 2.0
4 stars 5 forks source link

refresh a peer if not found #69

Closed andymck closed 2 years ago

andymck commented 2 years ago

As part of deriving the route for a given validator, force a refresh of the peer should it not be found in the peerbook.

Maybe we should do this in the peerbook itself as part of libp2p_peerbook:get/2, but that obviously touches all apps and so took this route of triggering from sibyl instead