move connection_basic and network_throttle from src/p2p to epee

These even had the epee namespace.
This fixes some ugly circular dependencies.
This commit is contained in:
moneromooo-monero 2017-11-29 19:30:06 +00:00
parent 4abf25f3c9
commit bb89ae8b20
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
11 changed files with 15 additions and 14 deletions

View file

@ -70,7 +70,7 @@
#include <boost/asio/ip/unicast.hpp>
#include "cryptonote_protocol_handler.h"
#include "p2p/network_throttle.hpp"
#include "net/network_throttle.hpp"
#include "cryptonote_core/cryptonote_core.h" // e.g. for the send_stop_signal()

View file

@ -41,7 +41,7 @@
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "profile_tools.h"
#include "p2p/network_throttle-detail.hpp"
#include "net/network_throttle-detail.hpp"
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "net.cn"