diff --git a/src/daemon/command_line_args.h b/src/daemon/command_line_args.h index 44505eb8f..4e1c7b70e 100644 --- a/src/daemon/command_line_args.h +++ b/src/daemon/command_line_args.h @@ -137,6 +137,19 @@ namespace daemon_args , "Disable ZMQ RPC server" }; + const command_line::arg_descriptor arg_i2p_sam = { + "i2p-sam" + , "I2P SAM proxy to reach I2P peers and accept I2P connections (default: none)" + }; + const command_line::arg_descriptor arg_i2p_accept_incoming = { + "i2p-accept-incoming" + , "Whether to accept inbound I2P connections; ignored if i2p-sam is not set." + , 0 + }; + const command_line::arg_descriptor arg_only_net = { + "onlynet" + , "Only make outbound connections to addresses using the specified protocol (onion,i2p)" + }; } // namespace daemon_args #endif // DAEMON_COMMAND_LINE_ARGS_H diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp index e2ff27daa..d58f59b88 100644 --- a/src/daemon/main.cpp +++ b/src/daemon/main.cpp @@ -160,6 +160,9 @@ int main(int argc, char const * argv[]) command_line::add_arg(core_settings, daemon_args::arg_zmq_rpc_disabled); command_line::add_arg(core_settings, daemonizer::arg_non_interactive); + command_line::add_arg(core_settings, daemon_args::arg_i2p_sam); + command_line::add_arg(core_settings, daemon_args::arg_i2p_accept_incoming); + command_line::add_arg(core_settings, daemon_args::arg_only_net); daemonizer::init_options(hidden_options, visible_options); daemonize::t_executor::init_options(core_settings);