make lifetime smaller for test networks

pull/174/head
Jeff Becker 6 years ago
parent cca19290de
commit c025755b99
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -14,9 +14,13 @@ namespace llarp
{
bool RouterContact::IgnoreBogons = false;
/// 1 hour
#ifdef TESTNET
// 1 minute for testnet
llarp_time_t RouterContact::Lifetime = 60 * 1000;
#else
/// 1 hour for real network
llarp_time_t RouterContact::Lifetime = 60 * 60 * 1000;
#endif
NetID::NetID() : AlignedBuffer< 8 >((const byte_t *)LLARP_NET_ID)
{
}

Loading…
Cancel
Save