Account for protocols when querying connected peers #3190
Labels
good first issue
Good for newcomers
networking
Subspace networking (DSN)
nice-to-have
Non-critical but nice to have
PieceProvider::get_from_cache()
start with querying connected peers, but currentlyNode::connected_peers()
simply returns all connected peers regardless of what protocols they support.This is a minor issue and only results in debug logs being printed, but would have been nice to account for connected peers that support specific request/response protocol to start with.
The text was updated successfully, but these errors were encountered: