mirror of
https://github.com/monero-project/monero.git
synced 2026-01-02 07:50:16 -08:00
options: remove testnet-* options
This commit is contained in:
@@ -34,15 +34,12 @@
|
||||
namespace nodetool
|
||||
{
|
||||
const command_line::arg_descriptor<std::string> arg_p2p_bind_ip = {"p2p-bind-ip", "Interface for p2p network protocol", "0.0.0.0"};
|
||||
const command_line::arg_descriptor<std::string> arg_p2p_bind_port = {
|
||||
const command_line::arg_descriptor<std::string, false, true> arg_p2p_bind_port = {
|
||||
"p2p-bind-port"
|
||||
, "Port for p2p network protocol"
|
||||
, std::to_string(config::P2P_DEFAULT_PORT)
|
||||
};
|
||||
const command_line::arg_descriptor<std::string> arg_testnet_p2p_bind_port = {
|
||||
"testnet-p2p-bind-port"
|
||||
, "Port for testnet p2p network protocol"
|
||||
, cryptonote::arg_testnet_on
|
||||
, std::to_string(config::testnet::P2P_DEFAULT_PORT)
|
||||
, std::to_string(config::P2P_DEFAULT_PORT)
|
||||
};
|
||||
const command_line::arg_descriptor<uint32_t> arg_p2p_external_port = {"p2p-external-port", "External port for p2p network protocol (if port forwarding used with NAT)", 0};
|
||||
const command_line::arg_descriptor<bool> arg_p2p_allow_local_ip = {"allow-local-ip", "Allow local ip add to peer list, mostly in debug purposes"};
|
||||
|
||||
Reference in New Issue
Block a user