mirror of
https://github.com/monero-project/monero.git
synced 2025-12-30 14:40:48 -08:00
daemon: add --public-node mode, RPC port propagation over P2P
This commit is contained in:
@@ -59,21 +59,21 @@ namespace daemonize
|
||||
)
|
||||
{
|
||||
LOG_PRINT_L0("Monero '" << MONERO_RELEASE_NAME << "' (v" << MONERO_VERSION_FULL << ") Daemonised");
|
||||
return t_daemon{vm};
|
||||
return t_daemon{vm, public_rpc_port};
|
||||
}
|
||||
|
||||
bool t_executor::run_non_interactive(
|
||||
boost::program_options::variables_map const & vm
|
||||
)
|
||||
{
|
||||
return t_daemon{vm}.run(false);
|
||||
return t_daemon{vm, public_rpc_port}.run(false);
|
||||
}
|
||||
|
||||
bool t_executor::run_interactive(
|
||||
boost::program_options::variables_map const & vm
|
||||
)
|
||||
{
|
||||
return t_daemon{vm}.run(true);
|
||||
return t_daemon{vm, public_rpc_port}.run(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user