mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
Time experemental options
This commit is contained in:
parent
5a2b795440
commit
ea899fbbfd
17 changed files with 264 additions and 129 deletions
|
@ -230,6 +230,12 @@ namespace config {
|
|||
("exploratory.inbound.quantity", value<int>()->default_value(3), "Exploratory inbound tunnels quantity")
|
||||
("exploratory.outbound.quantity", value<int>()->default_value(3), "Exploratory outbound tunnels quantity")
|
||||
;
|
||||
options_description time("Time Options");
|
||||
time.add_options()
|
||||
("time.use_ntp", value<bool>()->default_value(false), "Use NTP")
|
||||
("time.correcting", value<bool>()->default_value(false), "EXPEREMENTAL: Try correcting with peer, unsecurity")
|
||||
("time.ntp_server", value<std::string>()->default_value(offical_ntp_server), "NTP Server host")
|
||||
;
|
||||
|
||||
m_OptionsDesc
|
||||
.add(general)
|
||||
|
@ -248,6 +254,7 @@ namespace config {
|
|||
.add(trust)
|
||||
.add(websocket)
|
||||
.add(exploratory)
|
||||
.add(time)
|
||||
;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue