From aa93e3886211621e8c3367954b35260df731fc72 Mon Sep 17 00:00:00 2001 From: Aaron Hook Date: Fri, 20 Mar 2020 22:09:44 -0700 Subject: p2p: remove old debug commands --- tests/unit_tests/epee_utils.cpp | 1 + tests/unit_tests/net.cpp | 1 + tests/unit_tests/node_server.cpp | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unit_tests') diff --git a/tests/unit_tests/epee_utils.cpp b/tests/unit_tests/epee_utils.cpp index ee44ea2d5..513c2227c 100644 --- a/tests/unit_tests/epee_utils.cpp +++ b/tests/unit_tests/epee_utils.cpp @@ -45,6 +45,7 @@ #include "boost/archive/portable_binary_iarchive.hpp" #include "boost/archive/portable_binary_oarchive.hpp" #include "byte_slice.h" +#include "crypto/crypto.h" #include "hex.h" #include "net/net_utils_base.h" #include "net/local_ip.h" diff --git a/tests/unit_tests/net.cpp b/tests/unit_tests/net.cpp index 221dc631d..d7787a2de 100644 --- a/tests/unit_tests/net.cpp +++ b/tests/unit_tests/net.cpp @@ -53,6 +53,7 @@ #include #include +#include "crypto/crypto.h" #include "net/dandelionpp.h" #include "net/error.h" #include "net/net_utils_base.h" diff --git a/tests/unit_tests/node_server.cpp b/tests/unit_tests/node_server.cpp index c92f70b97..bda606e1a 100644 --- a/tests/unit_tests/node_server.cpp +++ b/tests/unit_tests/node_server.cpp @@ -54,7 +54,6 @@ public: bool init(const boost::program_options::variables_map& vm) {return true ;} bool deinit(){return true;} bool get_short_chain_history(std::list& ids) const { return true; } - bool get_stat_info(cryptonote::core_stat_info& st_inf) const {return true;} bool have_block(const crypto::hash& id) const {return true;} void get_blockchain_top(uint64_t& height, crypto::hash& top_id)const{height=0;top_id=crypto::null_hash;} bool handle_incoming_tx(const cryptonote::tx_blob_entry& tx_blob, cryptonote::tx_verification_context& tvc, cryptonote::relay_method tx_relay, bool relayed) { return true; } -- cgit v1.2.3