mirror of
https://github.com/monero-project/monero.git
synced 2025-11-28 01:31:47 -05:00
remove obsolete save_graph skeleton code
This commit is contained in:
parent
c0bc6d96cd
commit
6abaaaa994
14 changed files with 0 additions and 168 deletions
|
|
@ -143,8 +143,6 @@ namespace nodetool
|
|||
const command_line::arg_descriptor<int64_t> arg_limit_rate_down = {"limit-rate-down", "set limit-rate-down [kB/s]", P2P_DEFAULT_LIMIT_RATE_DOWN};
|
||||
const command_line::arg_descriptor<int64_t> arg_limit_rate = {"limit-rate", "set limit-rate [kB/s]", -1};
|
||||
|
||||
const command_line::arg_descriptor<bool> arg_save_graph = {"save-graph", "Save data for dr monero", false};
|
||||
|
||||
boost::optional<std::vector<proxy>> get_proxies(boost::program_options::variables_map const& vm)
|
||||
{
|
||||
namespace ip = boost::asio::ip;
|
||||
|
|
|
|||
|
|
@ -216,7 +216,6 @@ namespace nodetool
|
|||
m_hide_my_port(false),
|
||||
m_no_igd(false),
|
||||
m_offline(false),
|
||||
m_save_graph(false),
|
||||
is_closing(false),
|
||||
m_network_id()
|
||||
{}
|
||||
|
|
@ -396,12 +395,6 @@ namespace nodetool
|
|||
|
||||
public:
|
||||
|
||||
void set_save_graph(bool save_graph)
|
||||
{
|
||||
m_save_graph = save_graph;
|
||||
epee::net_utils::connection_basic::set_save_graph(save_graph);
|
||||
}
|
||||
|
||||
void set_rpc_port(uint16_t rpc_port)
|
||||
{
|
||||
m_rpc_port = rpc_port;
|
||||
|
|
@ -419,7 +412,6 @@ namespace nodetool
|
|||
bool m_hide_my_port;
|
||||
bool m_no_igd;
|
||||
bool m_offline;
|
||||
std::atomic<bool> m_save_graph;
|
||||
std::atomic<bool> is_closing;
|
||||
std::unique_ptr<boost::thread> mPeersLoggerThread;
|
||||
//critical_section m_connections_lock;
|
||||
|
|
@ -500,8 +492,6 @@ namespace nodetool
|
|||
extern const command_line::arg_descriptor<int64_t> arg_limit_rate_up;
|
||||
extern const command_line::arg_descriptor<int64_t> arg_limit_rate_down;
|
||||
extern const command_line::arg_descriptor<int64_t> arg_limit_rate;
|
||||
|
||||
extern const command_line::arg_descriptor<bool> arg_save_graph;
|
||||
}
|
||||
|
||||
POP_WARNINGS
|
||||
|
|
|
|||
|
|
@ -111,7 +111,6 @@ namespace nodetool
|
|||
command_line::add_arg(desc, arg_limit_rate_up);
|
||||
command_line::add_arg(desc, arg_limit_rate_down);
|
||||
command_line::add_arg(desc, arg_limit_rate);
|
||||
command_line::add_arg(desc, arg_save_graph);
|
||||
}
|
||||
//-----------------------------------------------------------------------------------
|
||||
template<class t_payload_net_handler>
|
||||
|
|
@ -292,11 +291,6 @@ namespace nodetool
|
|||
}
|
||||
}
|
||||
|
||||
if(command_line::has_arg(vm, arg_save_graph))
|
||||
{
|
||||
set_save_graph(true);
|
||||
}
|
||||
|
||||
if (command_line::has_arg(vm,arg_p2p_add_exclusive_node))
|
||||
{
|
||||
if (!parse_peers_and_add_to_container(vm, arg_p2p_add_exclusive_node, m_exclusive_peers))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue