Clarify nano_pow_server configs are not in use (#2724)
* Clarify nano_pow_server configs are not in use * Additionally disable possible nano_pow_server launch in daemon (not used)
This commit is contained in:
parent
9463d1b359
commit
95bfae4fae
2 changed files with 4 additions and 4 deletions
|
@ -74,7 +74,7 @@ void nano_daemon::daemon::run (boost::filesystem::path const & data_path, nano::
|
|||
std::unique_ptr<boost::process::child> nano_pow_server_process;
|
||||
#endif
|
||||
|
||||
if (config.pow_server.enable)
|
||||
/*if (config.pow_server.enable)
|
||||
{
|
||||
if (!boost::filesystem::exists (config.pow_server.pow_server_path))
|
||||
{
|
||||
|
@ -88,7 +88,7 @@ void nano_daemon::daemon::run (boost::filesystem::path const & data_path, nano::
|
|||
std::cerr << "nano_pow_server is configured to start as a child process, but this is not supported on this system. Disable startup and start the server manually." << std::endl;
|
||||
std::exit (1);
|
||||
#endif
|
||||
}
|
||||
}*/
|
||||
|
||||
std::unique_ptr<std::thread> rpc_process_thread;
|
||||
std::unique_ptr<nano::rpc> rpc;
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
nano::error nano::node_pow_server_config::serialize_toml (nano::tomlconfig & toml) const
|
||||
{
|
||||
toml.put ("enable", enable, "Enable or disable starting Nano PoW Server as a child process.\ntype:bool");
|
||||
toml.put ("nano_pow_server_path", pow_server_path, "Path to the nano_pow_server executable.\ntype:string,path");
|
||||
toml.put ("enable", enable, "Value is currently not in use. Enable or disable starting Nano PoW Server as a child process.\ntype:bool");
|
||||
toml.put ("nano_pow_server_path", pow_server_path, "Value is currently not in use. Path to the nano_pow_server executable.\ntype:string,path");
|
||||
return toml.get_error ();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue