Whenever we receive list RPC call we should respond with a peer list that includes the peers from newPeers and triedPeers.
Actual behavior
Currently, PeerPool is replying to this RPC with all the connected nodes that don't include sometimes the peers from newPeers or triedPeers that are not connected.
Expected behavior
Whenever we receive
list
RPC call we should respond with a peer list that includes the peers fromnewPeers
andtriedPeers
.Actual behavior
Currently, PeerPool is replying to this RPC with all the connected nodes that don't include sometimes the peers from
newPeers
ortriedPeers
that are not connected.