Add a map of nodes waiting for their proof. When receiving a valid avahello message, a node is added to that container. Every 2 to 3 minutes we check if a valid proof (=avalanche peer) exists for this node,has been registered for this node, and add the node when possible.
The size of the container is limited by the maximum number of connected peers. and addA node is removed from the nodecontainer when possibleit is disconnected.