build client tunnels through router with version >= 0.9.36

This commit is contained in:
orignal 2020-05-20 14:59:18 -04:00
parent 7d22ddd710
commit bdd75e1171
5 changed files with 27 additions and 3 deletions

View file

@ -21,6 +21,7 @@
#include "Reseed.h"
#include "NetDbRequests.h"
#include "Family.h"
#include "version.h"
namespace i2p
{
@ -32,6 +33,7 @@ namespace data
const int NETDB_MIN_EXPIRATION_TIMEOUT = 90*60; // 1.5 hours
const int NETDB_MAX_EXPIRATION_TIMEOUT = 27*60*60; // 27 hours
const int NETDB_PUBLISH_INTERVAL = 60*40;
const int NETDB_MIN_HIGHBANDWIDTH_VERSION = MAKE_VERSION_NUMBER(0,9,36); // 0.9.36
/** function for visiting a leaseset stored in a floodfill */
typedef std::function<void(const IdentHash, std::shared_ptr<LeaseSet>)> LeaseSetVisitor;