|
|
|
@ -237,7 +237,7 @@ namespace config {
@@ -237,7 +237,7 @@ namespace config {
|
|
|
|
|
options_description ntcp2("NTCP2 Options"); |
|
|
|
|
ntcp2.add_options() |
|
|
|
|
("ntcp2.enabled", value<bool>()->default_value(true), "Enable NTCP2 (default: enabled)") |
|
|
|
|
("ntcp2.published", value<bool>()->default_value(false), "Publish NTCP2 (default: disabled)") |
|
|
|
|
("ntcp2.published", value<bool>()->default_value(false), "Publish NTCP2 (default: disabled)") |
|
|
|
|
("ntcp2.port", value<uint16_t>()->default_value(0), "Port to listen for incoming NTCP2 connections (default: auto)") |
|
|
|
|
; |
|
|
|
|
|
|
|
|
@ -249,10 +249,15 @@ namespace config {
@@ -249,10 +249,15 @@ namespace config {
|
|
|
|
|
"1.pool.ntp.org," |
|
|
|
|
"2.pool.ntp.org," |
|
|
|
|
"3.pool.ntp.org" |
|
|
|
|
), "Comma separated list of NTCP servers") |
|
|
|
|
), "Comma separated list of NTCP servers") |
|
|
|
|
("nettime.ntpsyncinterval", value<int>()->default_value(72), "NTP sync interval in hours (default: 72)") |
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
options_description persist("Network information persisting options"); |
|
|
|
|
persist.add_options() |
|
|
|
|
("persist.profiles", value<bool>()->default_value(true), "Persist peer profiles (default: true)") |
|
|
|
|
; |
|
|
|
|
|
|
|
|
|
m_OptionsDesc |
|
|
|
|
.add(general) |
|
|
|
|
.add(limits) |
|
|
|
@ -272,6 +277,7 @@ namespace config {
@@ -272,6 +277,7 @@ namespace config {
|
|
|
|
|
.add(exploratory) |
|
|
|
|
.add(ntcp2) |
|
|
|
|
.add(nettime) |
|
|
|
|
.add(persist) |
|
|
|
|
; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|