aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.h
diff options
context:
space:
mode:
authorZachary Michaels <mikezackles@gmail.com>2014-09-09 10:58:53 -0400
committerRiccardo Spagni <ric@spagni.net>2014-09-15 15:54:59 +0200
commitd03308734b1487540af062ab50c94cc7bb3e668e (patch)
tree59b26c94f7449bb6e57a9c4c7a0ec3983c1d2feb /src/rpc/core_rpc_server.h
parentAdd testnet seed nodes (diff)
downloadmonero-d03308734b1487540af062ab50c94cc7bb3e668e.tar.xz
Separate testnet address prefix
Diffstat (limited to 'src/rpc/core_rpc_server.h')
-rw-r--r--src/rpc/core_rpc_server.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/rpc/core_rpc_server.h b/src/rpc/core_rpc_server.h
index 3f3d23f51..02bc533c9 100644
--- a/src/rpc/core_rpc_server.h
+++ b/src/rpc/core_rpc_server.h
@@ -49,12 +49,15 @@ namespace cryptonote
public:
typedef epee::net_utils::connection_context_base connection_context;
- core_rpc_server(core& cr, nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >& p2p);
+ core_rpc_server(
+ core& cr
+ , nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >& p2p
+ , bool testnet
+ );
static void init_options(boost::program_options::options_description& desc);
bool init(
const boost::program_options::variables_map& vm
- , bool testnet
);
private:
@@ -110,7 +113,6 @@ namespace cryptonote
//-----------------------
bool handle_command_line(
const boost::program_options::variables_map& vm
- , bool testnet
);
bool check_core_busy();
bool check_core_ready();
@@ -123,5 +125,6 @@ namespace cryptonote
nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core> >& m_p2p;
std::string m_port;
std::string m_bind_ip;
+ bool m_testnet;
};
}