|
|
@ -498,13 +498,16 @@ namespace data |
|
|
|
if (!dest->IsExcluded (r->GetIdentHash ()) && dest->GetNumExcludedPeers () < 30) // TODO: fix TunnelGateway first
|
|
|
|
if (!dest->IsExcluded (r->GetIdentHash ()) && dest->GetNumExcludedPeers () < 30) // TODO: fix TunnelGateway first
|
|
|
|
{ |
|
|
|
{ |
|
|
|
LogPrint ("Try ", key, " at floodfill ", peerHash); |
|
|
|
LogPrint ("Try ", key, " at floodfill ", peerHash); |
|
|
|
// tell floodfill about us
|
|
|
|
if (!dest->IsLeaseSet ()) |
|
|
|
msgs.push_back (i2p::tunnel::TunnelMessageBlock |
|
|
|
{ |
|
|
|
{ |
|
|
|
// tell floodfill about us
|
|
|
|
i2p::tunnel::eDeliveryTypeRouter, |
|
|
|
msgs.push_back (i2p::tunnel::TunnelMessageBlock |
|
|
|
r->GetIdentHash (), 0, |
|
|
|
{ |
|
|
|
CreateDatabaseStoreMsg () |
|
|
|
i2p::tunnel::eDeliveryTypeRouter, |
|
|
|
}); |
|
|
|
r->GetIdentHash (), 0, |
|
|
|
|
|
|
|
CreateDatabaseStoreMsg () |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
} |
|
|
|
// request destination
|
|
|
|
// request destination
|
|
|
|
auto msg = dest->CreateRequestMessage (r, inbound); |
|
|
|
auto msg = dest->CreateRequestMessage (r, inbound); |
|
|
|
msgs.push_back (i2p::tunnel::TunnelMessageBlock |
|
|
|
msgs.push_back (i2p::tunnel::TunnelMessageBlock |
|
|
|