don't include unconfirmed floodfill to the list if we have enough floodfills already

This commit is contained in:
orignal 2023-05-05 16:14:54 -04:00
parent 2f74e670a5
commit b6de474fda
6 changed files with 21 additions and 4 deletions

View file

@ -718,6 +718,7 @@ namespace transport
Terminate ();
return;
}
ri.GetProfile ()->Connected ();
i2p::data::UpdateStaticKey (addr->s, ri.GetIdentHash ()); // good static key
i2p::data::netdb.PostI2NPMsg (CreateI2NPMessage (eI2NPDummyMsg, buf.data () + 3, size)); // TODO: should insert ri and not parse it twice
// TODO: process options