mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
68148e098f
* add unit tests with ability to pretend to be different network setups
16 lines
392 B
C++
16 lines
392 B
C++
#pragma once
|
|
#include <llarp/util/types.hpp>
|
|
#include <llarp/util/time.hpp>
|
|
|
|
#include <cstdlib>
|
|
|
|
constexpr size_t MAX_LINK_MSG_SIZE = 8192;
|
|
static constexpr auto DefaultLinkSessionLifetime = 5min;
|
|
constexpr size_t MaxSendQueueSize = 1024 * 16;
|
|
static constexpr auto LinkLayerConnectTimeout = 5s;
|
|
|
|
namespace llarp::constants
|
|
{
|
|
static constexpr auto DefaultInboundIWPPort = uint16_t{1090};
|
|
}
|