mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
Merge pull request #129 from majestrate/dev
update introset when paths are dead
This commit is contained in:
commit
f2c8b204c2
1 changed files with 6 additions and 1 deletions
|
@ -1032,6 +1032,7 @@ namespace llarp
|
|||
{
|
||||
if(markedBad)
|
||||
return true;
|
||||
updatingIntroSet = false;
|
||||
if(i)
|
||||
{
|
||||
if(currentIntroSet.T >= i->T)
|
||||
|
@ -1055,7 +1056,6 @@ namespace llarp
|
|||
else
|
||||
SwapIntros();
|
||||
}
|
||||
updatingIntroSet = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1291,6 +1291,11 @@ namespace llarp
|
|||
{
|
||||
SwapIntros();
|
||||
}
|
||||
else
|
||||
{
|
||||
llarp::LogInfo(Name(), " updating introset");
|
||||
UpdateIntroSet(false);
|
||||
}
|
||||
return shiftedIntro;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue