mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
generic GetRandomRputer
This commit is contained in:
parent
ec624c89b2
commit
08ff685de8
2 changed files with 22 additions and 3 deletions
3
NetDb.h
3
NetDb.h
|
@ -105,6 +105,9 @@ namespace data
|
|||
bool isLeaseSet, bool isExploratory = false, i2p::tunnel::TunnelPool * pool = nullptr);
|
||||
bool DeleteRequestedDestination (const IdentHash& dest); // returns true if found
|
||||
void DeleteRequestedDestination (RequestedDestination * dest);
|
||||
|
||||
template<typename Filter>
|
||||
const RouterInfo * GetRandomRouter (Filter filter) const;
|
||||
|
||||
private:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue