better chill with path building

pull/388/head
Jeff Becker 5 years ago
parent c72c109071
commit c9a4c77fb9
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1826,6 +1826,14 @@ namespace llarp
{
if(markedBad)
return false;
if(path::Builder::ShouldBuildMore(now))
return true;
return !ReadyToSend();
}
bool
Endpoint::ShouldBuildMore(llarp_time_t now) const
{
bool should = path::Builder::ShouldBuildMore(now);
// determine newest intro
Introduction intro;

@ -261,6 +261,9 @@ namespace llarp
static void
HandlePathDead(void*);
bool
ShouldBuildMore(llarp_time_t now) const override;
/// context needed to initiate an outbound hidden service session
struct OutboundContext : public path::Builder, public SendContext
{

Loading…
Cancel
Save