Electroneum
Namespaces | Macros | Functions
net_node.inl File Reference
#include <algorithm>
#include <boost/bind/bind.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/optional/optional.hpp>
#include <boost/thread/thread.hpp>
#include <boost/uuid/uuid_io.hpp>
#include <atomic>
#include <functional>
#include <limits>
#include <memory>
#include <tuple>
#include <vector>
#include "version.h"
#include "string_tools.h"
#include "common/util.h"
#include "common/dns_utils.h"
#include "common/pruning.h"
#include "net/error.h"
#include "net/net_helper.h"
#include "math_helper.h"
#include "misc_log_ex.h"
#include "p2p_protocol_defs.h"
#include "net/local_ip.h"
#include "crypto/crypto.h"
#include "storages/levin_abstract_invoke2.h"
#include "cryptonote_core/cryptonote_core.h"
#include "net/parse.h"
#include <miniupnp/miniupnpc/miniupnpc.h>
#include <miniupnp/miniupnpc/upnpcommands.h>
#include <miniupnp/miniupnpc/upnperrors.h>
Include dependency graph for net_node.inl:
This graph shows which files directly or indirectly include this file:

Namespaces

 nodetool
 

Macros

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "net.p2p"
 
#define NET_MAKE_IP(b1, b2, b3, b4)   ((LPARAM)(((DWORD)(b1)<<24)+((DWORD)(b2)<<16)+((DWORD)(b3)<<8)+((DWORD)(b4))))
 
#define MIN_WANTED_SEED_NODES   9
 
#define LOG_PRINT_CC_PRIORITY_NODE(priority, con, msg)
 

Functions

bool nodetool::append_net_address (std::vector< epee::net_utils::network_address > &seed_nodes, std::string const &addr, uint16_t default_port)
 

Macro Definition Documentation

◆ ELECTRONEUM_DEFAULT_LOG_CATEGORY

#define ELECTRONEUM_DEFAULT_LOG_CATEGORY   "net.p2p"

◆ LOG_PRINT_CC_PRIORITY_NODE

#define LOG_PRINT_CC_PRIORITY_NODE (   priority,
  con,
  msg 
)
Value:
do { \
if (priority) {\
LOG_INFO_CC(con, "[priority]" << msg); \
} else {\
LOG_INFO_CC(con, msg); \
} \
} while(0)

◆ MIN_WANTED_SEED_NODES

#define MIN_WANTED_SEED_NODES   9

◆ NET_MAKE_IP

#define NET_MAKE_IP (   b1,
  b2,
  b3,
  b4 
)    ((LPARAM)(((DWORD)(b1)<<24)+((DWORD)(b2)<<16)+((DWORD)(b3)<<8)+((DWORD)(b4))))