|
|
|
@ -62,7 +62,6 @@ namespace llarp
|
|
|
|
|
if(intro.expiresAt > m_NextIntro.expiresAt)
|
|
|
|
|
m_NextIntro = intro;
|
|
|
|
|
}
|
|
|
|
|
currentConvoTag.Randomize();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
OutboundContext::~OutboundContext() = default;
|
|
|
|
@ -176,6 +175,8 @@ namespace llarp
|
|
|
|
|
OutboundContext::AsyncGenIntro(const llarp_buffer_t& payload,
|
|
|
|
|
ProtocolType t)
|
|
|
|
|
{
|
|
|
|
|
if(not currentConvoTag.IsZero())
|
|
|
|
|
return;
|
|
|
|
|
if(remoteIntro.router.IsZero())
|
|
|
|
|
SwapIntros();
|
|
|
|
|
|
|
|
|
@ -193,6 +194,7 @@ namespace llarp
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
currentConvoTag.Randomize();
|
|
|
|
|
auto frame = std::make_shared< ProtocolFrame >();
|
|
|
|
|
auto ex = std::make_shared< AsyncKeyExchange >(
|
|
|
|
|
m_Endpoint->RouterLogic(), remoteIdent, m_Endpoint->GetIdentity(),
|
|
|
|
|