mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
pack 3 DatabaseLookup messages into one TunnelData while processing DatabaseSearchReply
This commit is contained in:
parent
093e566da6
commit
474aa9068a
7 changed files with 157 additions and 73 deletions
3
NetDb.h
3
NetDb.h
|
@ -30,11 +30,12 @@ namespace data
|
|||
|
||||
void RequestDestination (const uint8_t * destination, const uint8_t * router);
|
||||
void HandleDatabaseSearchReply (const uint8_t * key, const uint8_t * router);
|
||||
void HandleDatabaseSearchReplyMsg (I2NPMessage * msg);
|
||||
|
||||
const RouterInfo * GetRandomNTCPRouter (bool floodfillOnly = false) const;
|
||||
const RouterInfo * GetRandomRouter () const;
|
||||
|
||||
void PostDatabaseStoreMsg (I2NPMessage * msg);
|
||||
void PostI2NPMsg (I2NPMessage * msg);
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue