Add comment for NANO_DEFAULT_PEER environment variable (#4073)
* Add comment for NANO_DEFAULT_PEER environment variable Adding documentation to the config-node.toml generator for the NANO_DEFAULT_PEER environment variable
This commit is contained in:
parent
d8c790df9c
commit
1036804b90
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ nano::error nano::node_config::serialize_toml (nano::tomlconfig & toml) const
|
|||
work_peers_l->push_back (boost::str (boost::format ("%1%:%2%") % i->first % i->second));
|
||||
}
|
||||
|
||||
auto preconfigured_peers_l (toml.create_array ("preconfigured_peers", "A list of \"address\" (hostname or ipv6 notation ip address) entries to identify preconfigured peers."));
|
||||
auto preconfigured_peers_l (toml.create_array ("preconfigured_peers", "A list of \"address\" (hostname or ipv6 notation ip address) entries to identify preconfigured peers.\nThe contents of the NANO_DEFAULT_PEER environment variable are added to preconfigured_peers."));
|
||||
for (auto i (preconfigured_peers.begin ()), n (preconfigured_peers.end ()); i != n; ++i)
|
||||
{
|
||||
preconfigured_peers_l->push_back (*i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue