Monero
Namespaces | Macros
cryptonote_protocol_handler.inl File Reference

This is the original cryptonote protocol network-events handler, modified by us. More...

#include <boost/interprocess/detail/atomic.hpp>
#include <list>
#include <ctime>
#include "cryptonote_basic/cryptonote_format_utils.h"
#include "profile_tools.h"
#include "net/network_throttle-detail.hpp"
Include dependency graph for cryptonote_protocol_handler.inl:
This graph shows which files directly or indirectly include this file:

Namespaces

 cryptonote
 Holds cryptonote related classes and helpers.
 

Macros

#define MONERO_DEFAULT_LOG_CATEGORY   "net.cn"
 
#define MLOG_P2P_MESSAGE(x)   MCINFO("net.p2p.msg", context << x)
 
#define BLOCK_QUEUE_NBLOCKS_THRESHOLD   10
 
#define BLOCK_QUEUE_SIZE_THRESHOLD   (100*1024*1024)
 
#define REQUEST_NEXT_SCHEDULED_SPAN_THRESHOLD   (5 * 1000000)
 
#define IDLE_PEER_KICK_TIME   (600 * 1000000)
 
#define PASSIVE_PEER_KICK_TIME   (60 * 1000000)
 

Detailed Description

This is the original cryptonote protocol network-events handler, modified by us.

Author
rfree (current maintainer/user in monero.cc project - most of code is from CryptoNote)

Macro Definition Documentation

◆ BLOCK_QUEUE_NBLOCKS_THRESHOLD

#define BLOCK_QUEUE_NBLOCKS_THRESHOLD   10

◆ BLOCK_QUEUE_SIZE_THRESHOLD

#define BLOCK_QUEUE_SIZE_THRESHOLD   (100*1024*1024)

◆ IDLE_PEER_KICK_TIME

#define IDLE_PEER_KICK_TIME   (600 * 1000000)

◆ MLOG_P2P_MESSAGE

#define MLOG_P2P_MESSAGE (   x)    MCINFO("net.p2p.msg", context << x)

◆ MONERO_DEFAULT_LOG_CATEGORY

#define MONERO_DEFAULT_LOG_CATEGORY   "net.cn"

◆ PASSIVE_PEER_KICK_TIME

#define PASSIVE_PEER_KICK_TIME   (60 * 1000000)

◆ REQUEST_NEXT_SCHEDULED_SPAN_THRESHOLD

#define REQUEST_NEXT_SCHEDULED_SPAN_THRESHOLD   (5 * 1000000)