Skip to content

sgns::GeniusNode::NetworkSettings

Network knobs resolved from network_config.json, passed between the InitNetwork helpers. Members the node owns outright (autodht_, bootstrap_peers_, reconnect_config_) are written directly instead.

Public Attributes

Name
std::string bind_address
PubSub bind address ("pubsub_bind_address").
bool upnp_enabled
Whether UPnP/IGD mapping is attempted.
int high_water
Connection-manager high water mark.
int low_water
Connection-manager low water mark.
uint16_t config_port
"pubsub_port" override; zero when unset.
uint16_t port_seed
"port_seed", or the constructor param when the key is absent.

Public Attributes Documentation

variable bind_address

std::string bind_address = "0.0.0.0";

PubSub bind address ("pubsub_bind_address").

variable upnp_enabled

bool upnp_enabled = true;

Whether UPnP/IGD mapping is attempted.

variable high_water

int high_water = 0;

Connection-manager high water mark.

variable low_water

int low_water = 0;

Connection-manager low water mark.

variable config_port

uint16_t config_port = 0;

"pubsub_port" override; zero when unset.

variable port_seed

uint16_t port_seed = 0;

"port_seed", or the constructor param when the key is absent.


Updated on 2026-08-26 at 01:52:48 +0000