|
|
@ -498,6 +498,8 @@ 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); |
|
|
|
|
|
|
|
if (!dest->IsLeaseSet ()) |
|
|
|
|
|
|
|
{ |
|
|
|
// tell floodfill about us
|
|
|
|
// tell floodfill about us
|
|
|
|
msgs.push_back (i2p::tunnel::TunnelMessageBlock |
|
|
|
msgs.push_back (i2p::tunnel::TunnelMessageBlock |
|
|
|
{ |
|
|
|
{ |
|
|
@ -505,6 +507,7 @@ namespace data |
|
|
|
r->GetIdentHash (), 0, |
|
|
|
r->GetIdentHash (), 0, |
|
|
|
CreateDatabaseStoreMsg () |
|
|
|
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 |
|
|
|