@ -73,7 +73,7 @@ namespace config {
( " limits.coresize " , value < uint32_t > ( ) - > default_value ( 0 ) , " Maximum size of corefile in Kb (0 - use system limit) " )
( " limits.coresize " , value < uint32_t > ( ) - > default_value ( 0 ) , " Maximum size of corefile in Kb (0 - use system limit) " )
( " limits.openfiles " , value < uint16_t > ( ) - > default_value ( 0 ) , " Maximum number of open files (0 - use system default) " )
( " limits.openfiles " , value < uint16_t > ( ) - > default_value ( 0 ) , " Maximum number of open files (0 - use system default) " )
( " limits.transittunnels " , value < uint16_t > ( ) - > default_value ( 2500 ) , " Maximum active transit sessions (default:2500) " )
( " limits.transittunnels " , value < uint16_t > ( ) - > default_value ( 2500 ) , " Maximum active transit sessions (default:2500) " )
( " limits.ntcpsoft " , value < uint16_t > ( ) - > default_value ( 0 ) , " Threshold to start probaba listic backoff with ntcp sessions (default: use system limit) " )
( " limits.ntcpsoft " , value < uint16_t > ( ) - > default_value ( 0 ) , " Threshold to start probabi listic backoff with ntcp sessions (default: use system limit) " )
( " limits.ntcphard " , value < uint16_t > ( ) - > default_value ( 0 ) , " Maximum number of ntcp sessions (default: use system limit) " )
( " limits.ntcphard " , value < uint16_t > ( ) - > default_value ( 0 ) , " Maximum number of ntcp sessions (default: use system limit) " )
( " limits.ntcpthreads " , value < uint16_t > ( ) - > default_value ( 1 ) , " Maximum number of threads used by NTCP DH worker (default: 1) " )
( " limits.ntcpthreads " , value < uint16_t > ( ) - > default_value ( 1 ) , " Maximum number of threads used by NTCP DH worker (default: 1) " )
;
;
@ -153,8 +153,8 @@ namespace config {
( " i2pcontrol.address " , value < std : : string > ( ) - > default_value ( " 127.0.0.1 " ) , " I2PCP listen address " )
( " i2pcontrol.address " , value < std : : string > ( ) - > default_value ( " 127.0.0.1 " ) , " I2PCP listen address " )
( " i2pcontrol.port " , value < uint16_t > ( ) - > default_value ( 7650 ) , " I2PCP listen port " )
( " i2pcontrol.port " , value < uint16_t > ( ) - > default_value ( 7650 ) , " I2PCP listen port " )
( " i2pcontrol.password " , value < std : : string > ( ) - > default_value ( " itoopie " ) , " I2PCP access password " )
( " i2pcontrol.password " , value < std : : string > ( ) - > default_value ( " itoopie " ) , " I2PCP access password " )
( " i2pcontrol.cert " , value < std : : string > ( ) - > default_value ( " i2pcontrol.crt.pem " ) , " I2PCP connection cerificate " )
( " i2pcontrol.cert " , value < std : : string > ( ) - > default_value ( " i2pcontrol.crt.pem " ) , " I2PCP connection cert ificate " )
( " i2pcontrol.key " , value < std : : string > ( ) - > default_value ( " i2pcontrol.key.pem " ) , " I2PCP connection cerificate key " )
( " i2pcontrol.key " , value < std : : string > ( ) - > default_value ( " i2pcontrol.key.pem " ) , " I2PCP connection cert ificate key " )
;
;
bool upnp_default = false ;
bool upnp_default = false ;
@ -164,7 +164,7 @@ namespace config {
options_description upnp ( " UPnP options " ) ;
options_description upnp ( " UPnP options " ) ;
upnp . add_options ( )
upnp . add_options ( )
( " upnp.enabled " , value < bool > ( ) - > default_value ( upnp_default ) , " Enable or disable UPnP: automatic port forwarding " )
( " upnp.enabled " , value < bool > ( ) - > default_value ( upnp_default ) , " Enable or disable UPnP: automatic port forwarding " )
( " upnp.name " , value < std : : string > ( ) - > default_value ( " I2Pd " ) , " Name i2pd appears in UPnP forwardings list " )
( " upnp.name " , value < std : : string > ( ) - > default_value ( " I2Pd " ) , " Name i2pd appears in UPnP forwarding list " )
;
;
options_description precomputation ( " Precomputation options " ) ;
options_description precomputation ( " Precomputation options " ) ;
@ -256,7 +256,7 @@ namespace config {
options_description persist ( " Network information persisting options " ) ;
options_description persist ( " Network information persisting options " ) ;
persist . add_options ( )
persist . add_options ( )
( " persist.profiles " , value < bool > ( ) - > default_value ( true ) , " Persist peer profiles (default: true) " )
( " persist.profiles " , value < bool > ( ) - > default_value ( true ) , " Persist peer profiles (default: true) " )
( " persist.addressbook " , value < bool > ( ) - > default_value ( true ) , " Persist full addreses (default: true) " )
( " persist.addressbook " , value < bool > ( ) - > default_value ( true ) , " Persist full address es (default: true) " )
;
;
m_OptionsDesc
m_OptionsDesc