mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
don't request same RouterInfo twice
This commit is contained in:
parent
4a6847da8d
commit
cd8e9e59fa
2 changed files with 11 additions and 1 deletions
1
NetDb.h
1
NetDb.h
|
@ -42,6 +42,7 @@ namespace data
|
|||
I2NPMessage * CreateRequestMessage (const IdentHash& floodfill);
|
||||
|
||||
void SetRequestComplete (const RequestComplete& requestComplete) { m_RequestComplete = requestComplete; };
|
||||
bool IsRequestComplete () const { return m_RequestComplete != nullptr; };
|
||||
void Success (std::shared_ptr<RouterInfo> r);
|
||||
void Fail ();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue