|
|
|
@ -19,13 +19,13 @@ namespace data
@@ -19,13 +19,13 @@ namespace data
|
|
|
|
|
return msg; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
I2NPMessage * RequestedDestination::CreateRequestMessage (const IdentHash& floodfill) |
|
|
|
|
std::shared_ptr<I2NPMessage> RequestedDestination::CreateRequestMessage (const IdentHash& floodfill) |
|
|
|
|
{ |
|
|
|
|
I2NPMessage * msg = i2p::CreateRouterInfoDatabaseLookupMsg (m_Destination, |
|
|
|
|
i2p::context.GetRouterInfo ().GetIdentHash () , 0, false, &m_ExcludedPeers); |
|
|
|
|
m_ExcludedPeers.insert (floodfill); |
|
|
|
|
m_CreationTime = i2p::util::GetSecondsSinceEpoch (); |
|
|
|
|
return msg; |
|
|
|
|
return ToSharedI2NPMessage (msg); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void RequestedDestination::ClearExcludedPeers () |
|
|
|
|