lokinet/llarp/constants/link_layer.hpp
Jeff Becker e005b34169
fix up some retarded bullshit
* llarp::service::NameIsValid was not checking that the tld was .loki, add this check.
* make link layer initial connection timeout 5s not the session activity timeout which happens to be 60 god damn seconds.
2021-04-19 07:00:26 -04:00

11 lines
291 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 = 1min;
constexpr size_t MaxSendQueueSize = 1024;
static constexpr auto LinkLayerConnectTimeout = 5s;