llarp::RouterConfig

Public Functions

Name
fs::path data_dir_file(const fs::path & file) const
size_t num_worker_threads() const
void defineConfigOptions(ConfigDefinition & conf, const ConfigGenParameters & params)

Public Attributes

Name
size_t m_minConnectedRouters
size_t m_maxConnectedRouters
std::string m_netId
std::string m_nickname
fs::path m_dataDir
bool m_blockBogons
int m_workerThreads
int m_numNetThreads
size_t m_JobQueueSize
std::string m_routerContactFile
std::string m_encryptionKeyFile
std::string m_identityKeyFile
std::string m_transportKeyFile
bool m_isRelay
std::optional< net::ipaddr_t > PublicIP
deprecated
std::optional< net::port_t > PublicPort
deprecated

Public Functions Documentation

function data_dir_file

inline fs::path data_dir_file(
    const fs::path & file
) const

function num_worker_threads

size_t num_worker_threads() const

function defineConfigOptions

void defineConfigOptions(
    ConfigDefinition & conf,
    const ConfigGenParameters & params
)

Public Attributes Documentation

variable m_minConnectedRouters

size_t m_minConnectedRouters = 0;

variable m_maxConnectedRouters

size_t m_maxConnectedRouters = 0;

variable m_netId

std::string m_netId;

variable m_nickname

std::string m_nickname;

variable m_dataDir

fs::path m_dataDir;

variable m_blockBogons

bool m_blockBogons = false;

variable m_workerThreads

int m_workerThreads = -1;

variable m_numNetThreads

int m_numNetThreads = -1;

variable m_JobQueueSize

size_t m_JobQueueSize = 0;

variable m_routerContactFile

std::string m_routerContactFile;

variable m_encryptionKeyFile

std::string m_encryptionKeyFile;

variable m_identityKeyFile

std::string m_identityKeyFile;

variable m_transportKeyFile

std::string m_transportKeyFile;

variable m_isRelay

bool m_isRelay = false;

variable PublicIP

std::optional< net::ipaddr_t > PublicIP;

deprecated

variable PublicPort

std::optional< net::port_t > PublicPort;

deprecated


Updated on 2026-01-10 at 22:49:45 +0000