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¶
PubSub bind address ("pubsub_bind_address").
variable upnp_enabled¶
Whether UPnP/IGD mapping is attempted.
variable high_water¶
Connection-manager high water mark.
variable low_water¶
Connection-manager low water mark.
variable config_port¶
"pubsub_port" override; zero when unset.
variable port_seed¶
"port_seed", or the constructor param when the key is absent.
Updated on 2026-08-26 at 01:52:48 +0000