initCheckBox(OPTION("","logclftime",[]{return"false";}),uiSettings->logclftimeCheckBox);//"Write full CLF-formatted date and time to log (default: write only time)"
initIntegerBox(OPTION("","share",[]{return"100";}),uiSettings->shareLineEdit,tr("Share"));//Max % of bandwidth limit for transit. 0-100. 100 by default
initCheckBox(OPTION("http","strictheaders",[]{return"true";}),uiSettings->httpStrictHeadersCheckBox);//Enable strict host checking on WebUI. true by default
initStringBox(OPTION("http","hostname",[]{return"localhost";}),uiSettings->httpHostnameLineEdit);//Expected hostname for WebUI (default: localhost)
initStringBox(OPTION("httpproxy","outproxy",[]{return"";}),uiSettings->httpProxyOutproxyLineEdit);//HTTP proxy upstream out proxy url (like http://false.i2p)
initStringBox(OPTION("httpproxy","i2cp.leaseSetType",[]{return"1";}),uiSettings->httpProxyI2cpLeaseSetTypeLineEdit);//Type of LeaseSet to be sent. 1, 3 or 5. 1 by default
initStringBox(OPTION("httpproxy","i2cp.leaseSetEncType",[]{return"";}),uiSettings->httpProxyI2cpLeaseSetEncTypeLineEdit);//Comma separated encryption types to be used in LeaseSet type 3 or 5
initStringBox(OPTION("socksproxy","i2cp.leaseSetType",[]{return"1";}),uiSettings->socksProxyI2cpLeaseSetTypeLineEdit);//Type of LeaseSet to be sent. 1, 3 or 5. 1 by default
initStringBox(OPTION("socksproxy","i2cp.leaseSetEncType",[]{return"";}),uiSettings->socksProxyI2cpLeaseSetEncTypeLineEdit);//Comma separated encryption types to be used in LeaseSet type 3 or 5
initCheckBox(OPTION("sam","singlethread",[]{return"true";}),uiSettings->samSingleThreadCheckBox);//If false every SAM session runs in own thread. true by default
//initCheckBox( OPTION("i2cp","singlethread",[]{return "true";}), uiSettings->i2cpSingleThreadCheckBox);//If false every I2CP session runs in own thread. true by default
initFileChooser(OPTION("reseed","zipfile",[]{return"";}),uiSettings->reseedZipFileLineEdit,uiSettings->reseedZipFileBrowsePushButton);//Path to local .zip file to reseed from
initUInt16Box(OPTION("reseed","threshold",[]{return"25";}),uiSettings->reseedThresholdNumberLineEdit,tr("reseedThreshold"));//Minimum number of known routers before requesting reseed. 25 by default
initStringBox(OPTION("reseed","proxy",[]{return"";}),uiSettings->reseedProxyLineEdit);//URL for https/socks reseed proxy
initCheckBox(OPTION("websockets","enabled",[]{return"false";}),uiSettings->checkBoxWebsocketsEnable);//Enable websocket server. Disabled by default
initIPAddressBox(OPTION("websockets","address",[]{return"127.0.0.1";}),uiSettings->websocketsAddressLineEdit,tr("Websockets -> IP address"));//Address to bind websocket server on. 127.0.0.1 by default
initTCPPortBox(OPTION("websockets","port",[]{return"7666";}),uiSettings->websocketsPortLineEdit,tr("Websockets -> Port"));//Port to bind websocket server on. 7666 by default
initIntegerBox(OPTION("exploratory","inbound.length",[]{return"2";}),uiSettings->exploratoryInboundTunnelsLengthNumberLineEdit,tr("exploratoryInboundTunnelsLength"));//Exploratory inbound tunnels length. 2 by default
initIntegerBox(OPTION("exploratory","inbound.quantity",[]{return"3";}),uiSettings->exploratoryInboundTunnelsQuantityNumberLineEdit,tr("exploratoryInboundTunnelsQuantity"));//Exploratory inbound tunnels quantity. 3 by default
initIntegerBox(OPTION("exploratory","outbound.length",[]{return"2";}),uiSettings->exploratoryOutboundTunnelsLengthNumberLineEdit,tr("exploratoryOutboundTunnelsLength"));//Exploratory outbound tunnels length. 2 by default
initIntegerBox(OPTION("exploratory","outbound.quantity",[]{return"3";}),uiSettings->exploratoryOutboundTunnelsQuantityNumberLineEdit,tr("exploratoryOutboundTunnelsQuantity"));//Exploratory outbound tunnels length. 3 by default
initCheckBox(OPTION("ntcp2","enabled",[]{return"true";}),uiSettings->checkBoxNtcp2Enable);//Enable NTCP2. Enabled by default
initCheckBox(OPTION("ntcp2","published",[]{return"false";}),uiSettings->checkBoxNtcp2Published);//Enable incoming NTCP2 connections. Disabled by default
initTCPPortBox(OPTION("ntcp2","port",[]{return"0";}),uiSettings->ntcp2PortLineEdit,tr("NTCP2 -> Port"));//Port to listen for incoming NTCP2 connections (default: auto)
initIPAddressBox(OPTION("ntcp2","addressv6",[]{return"::";}),uiSettings->ntcp2AddressV6LineEdit,tr("NTCP2 -> IPv6 address"));//External IPv6 for incoming connections
initStringBox(OPTION("ntcp2","proxy",[]{return"";}),uiSettings->lineEditNtcp2Proxy);//Specify proxy server for NTCP2. Should be http://address:port or socks://address:port
initCheckBox(OPTION("nettime","enabled",[]{return"false";}),uiSettings->checkBoxNettimeEnable);//Enable NTP sync. Disabled by default
initStringBox(OPTION("nettime","ntpservers",[]{return"pool.ntp.org";}),uiSettings->lineEditNetTimeNtpServers);//Comma-separated list of NTP servers. pool.ntp.org by default
initIntegerBox(OPTION("nettime","ntpsyncinterval",[]{return"72";}),uiSettings->nettimeNtpSyncIntervalNumberLineEdit,tr("nettimeNtpSyncInterval"));//NTP time sync interval in hours. 72 by default
initCheckBox(OPTION("persist","profiles",[]{return"true";}),uiSettings->checkBoxPersistProfiles);//Enable peer profile persisting to disk. Enabled by default
std::string_i2cp_leaseSetEncType=options[I2CP_PARAM_LEASESET_ENCRYPTION_TYPE]=GetI2CPOption(section,I2CP_PARAM_LEASESET_ENCRYPTION_TYPE,DEFAULT_LEASESET_ENCRYPTION_TYPE);//todo Identity's type by default