32#include "gtest/gtest.h"
34#include <boost/filesystem/path.hpp>
35#include <boost/filesystem/operations.hpp>
36#include <boost/program_options.hpp>
39#include "p2p/net_node.inl"
41#include "cryptonote_protocol/cryptonote_protocol_handler.inl"
48namespace po = boost::program_options;
52namespace nodetool {
template class node_server<cryptonote::t_cryptonote_protocol_handler<cryptonote::core>>; }
53namespace cryptonote {
template class t_cryptonote_protocol_handler<cryptonote::core>; }
55int main(
int argc,
char** argv)
66 po::options_description desc_options(
"Command line options");
73 po::store(po::parse_command_line(argc, argv, desc_options), vm);
This is the orginal cryptonote protocol network-events handler, modified by us.
int RUN_ALL_TESTS() GTEST_MUST_USE_RESULT_
void mlog_configure(const std::string &filename_base, bool console, const std::size_t max_log_file_size=MAX_LOG_FILE_SIZE, const std::size_t max_log_files=MAX_LOG_FILES)
std::string mlog_get_default_log_path(const char *default_filename)
#define CATCH_ENTRY_L0(lacation, return_val)
void add_arg(boost::program_options::options_description &description, const arg_descriptor< T, required, dependent, NUM_DEPS > &arg, bool unique=true)
bool handle_error_helper(const boost::program_options::options_description &desc, F parser)
T get_arg(const boost::program_options::variables_map &vm, const arg_descriptor< T, false, true > &arg)
Holds cryptonote related classes and helpers.
bool get_set_enable_assert(bool set=false, bool v=false)
GTEST_API_ void InitGoogleTest(int *argc, char **argv)
boost::filesystem::path data_dir