|
|
|
@ -740,7 +740,7 @@ namespace data
@@ -740,7 +740,7 @@ namespace data
|
|
|
|
|
LogPrint ("Requested RouterInfo ", key, " found"); |
|
|
|
|
router->LoadBuffer (); |
|
|
|
|
if (router->GetBuffer ()) |
|
|
|
|
replyMsg = CreateDatabaseStoreMsg (router.get ()); |
|
|
|
|
replyMsg = CreateDatabaseStoreMsg (router); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!replyMsg) |
|
|
|
@ -874,7 +874,7 @@ namespace data
@@ -874,7 +874,7 @@ namespace data
|
|
|
|
|
{ |
|
|
|
|
uint32_t replyToken = i2p::context.GetRandomNumberGenerator ().GenerateWord32 (); |
|
|
|
|
LogPrint ("Publishing our RouterInfo to ", floodfill->GetIdentHashAbbreviation (), ". reply token=", replyToken); |
|
|
|
|
transports.SendMessage (floodfill->GetIdentHash (), CreateDatabaseStoreMsg ((RouterInfo *)nullptr, replyToken)); |
|
|
|
|
transports.SendMessage (floodfill->GetIdentHash (), CreateDatabaseStoreMsg (std::make_shared<RouterInfo>(nullptr), replyToken)); |
|
|
|
|
excluded.insert (floodfill->GetIdentHash ()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|