#include <boost/asio/deadline_timer.hpp>
#include <boost/uuid/uuid_generators.hpp>
#include <boost/unordered_map.hpp>
#include <boost/smart_ptr/make_shared.hpp>
#include <atomic>
#include <deque>
#include "levin_base.h"
#include "buffer.h"
#include "misc_language.h"
#include "syncobj.h"
#include "time_helper.h"
#include "int-util.h"
#include <random>
#include <chrono>
Go to the source code of this file.
|
| namespace | epee |
| | TODO: (mj-xmr) This will be reduced in an another PR.
|
| namespace | epee::levin |
|
| template<typename context_t> |
| void | on_levin_traffic (const context_t &context, bool initiator, bool sent, bool error, size_t bytes, const char *category) |
| template<typename context_t> |
| void | on_levin_traffic (const context_t &context, bool initiator, bool sent, bool error, size_t bytes, int command) |
◆ MIN_BYTES_WANTED
| #define MIN_BYTES_WANTED 512 |
◆ MONERO_DEFAULT_LOG_CATEGORY
| #define MONERO_DEFAULT_LOG_CATEGORY "net" |
◆ on_levin_traffic() [1/2]
template<typename context_t>
| void on_levin_traffic |
( |
const context_t & | context, |
|
|
bool | initiator, |
|
|
bool | sent, |
|
|
bool | error, |
|
|
size_t | bytes, |
|
|
const char * | category ) |
◆ on_levin_traffic() [2/2]
template<typename context_t>
| void on_levin_traffic |
( |
const context_t & | context, |
|
|
bool | initiator, |
|
|
bool | sent, |
|
|
bool | error, |
|
|
size_t | bytes, |
|
|
int | command ) |