mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
request RouterInfo for newly dicovered floodfills
This commit is contained in:
parent
01cb5e02e9
commit
fbbcc69c72
2 changed files with 136 additions and 59 deletions
7
NetDb.h
7
NetDb.h
|
@ -26,10 +26,11 @@ namespace data
|
|||
|
||||
void AddRouterInfo (uint8_t * buf, int len);
|
||||
void AddLeaseSet (uint8_t * buf, int len);
|
||||
RouterInfo * FindRouter (const uint8_t * ident);
|
||||
|
||||
RouterInfo * FindRouter (const uint8_t * ident) const;
|
||||
|
||||
void RequestDestination (const char * b32, const uint8_t * router); // in base32
|
||||
void RequestDestination (const uint8_t * destination, const uint8_t * router);
|
||||
void HandleDatabaseSearchReply (const uint8_t * key, const uint8_t * router);
|
||||
void HandleDatabaseStoreMsg (uint8_t * buf, size_t len);
|
||||
void HandleDatabaseSearchReplyMsg (I2NPMessage * msg);
|
||||
|
||||
const RouterInfo * GetRandomNTCPRouter (bool floodfillOnly = false) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue