aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.h
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-09-08 12:51:04 -0400
committerRiccardo Spagni <ric@spagni.net>2014-09-15 15:53:10 +0200
commit98ed9a41f7bf0d904e257372f4561aea3ad12c18 (patch)
tree1a9bde3f4ff6129a40e8a36e3c2310c3fb3b5442 /src/p2p/net_node.h
parentReorganize testnet constants (diff)
downloadmonero-98ed9a41f7bf0d904e257372f4561aea3ad12c18.tar.xz
Separate p2p port for testnet
Diffstat (limited to '')
-rw-r--r--src/p2p/net_node.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/p2p/net_node.h b/src/p2p/net_node.h
index 3a659dcd8..7030d93f7 100644
--- a/src/p2p/net_node.h
+++ b/src/p2p/net_node.h
@@ -149,7 +149,10 @@ namespace nodetool
virtual void for_each_connection(std::function<bool(typename t_payload_net_handler::connection_context&, peerid_type)> f);
//-----------------------------------------------------------------------------------------------
bool parse_peer_from_string(nodetool::net_address& pe, const std::string& node_addr);
- bool handle_command_line(const boost::program_options::variables_map& vm);
+ bool handle_command_line(
+ const boost::program_options::variables_map& vm
+ , bool testnet
+ );
bool idle_worker();
bool handle_remote_peerlist(const std::list<peerlist_entry>& peerlist, time_t local_time, const epee::net_utils::connection_context_base& context);
bool get_local_node_data(basic_node_data& node_data);