mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-31 09:04:14 +00:00
exclude SSU1 introducers
This commit is contained in:
parent
8447822c35
commit
7bcc905f05
@ -579,7 +579,7 @@ namespace data
|
|||||||
int numValid = 0;
|
int numValid = 0;
|
||||||
for (auto& it: address->ssu->introducers)
|
for (auto& it: address->ssu->introducers)
|
||||||
{
|
{
|
||||||
if (it.iTag && ts < it.iExp)
|
if (it.iTag && ts < it.iExp && !it.iH.IsZero ())
|
||||||
numValid++;
|
numValid++;
|
||||||
else
|
else
|
||||||
it.iTag = 0;
|
it.iTag = 0;
|
||||||
|
@ -125,7 +125,7 @@ namespace data
|
|||||||
|
|
||||||
struct Introducer
|
struct Introducer
|
||||||
{
|
{
|
||||||
Introducer (): iTag (0), iExp (0) {};
|
Introducer (): iTag (0), iExp (0) { iH.Fill(0); };
|
||||||
IdentHash iH;
|
IdentHash iH;
|
||||||
uint32_t iTag;
|
uint32_t iTag;
|
||||||
uint32_t iExp;
|
uint32_t iExp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user