Monero
Loading...
Searching...
No Matches
p2p_protocol_defs.h File Reference
#include <iomanip>
#include <boost/uuid/uuid.hpp>
#include <boost/serialization/version.hpp>
#include "serialization/keyvalue_serialization.h"
#include "net/net_utils_base.h"
#include "net/tor_address.h"
#include "net/i2p_address.h"
#include "misc_language.h"
#include "string_tools.h"
#include "time_helper.h"
#include "serialization/serialization.h"
#include "cryptonote_config.h"
Include dependency graph for p2p_protocol_defs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nodetool::network_address_old
struct  nodetool::peerlist_entry_base< AddressType >
struct  nodetool::anchor_peerlist_entry_base< AddressType >
struct  nodetool::connection_entry_base< AddressType >
struct  nodetool::network_config
struct  nodetool::basic_node_data
struct  nodetool::COMMAND_HANDSHAKE_T< t_playload_type >
struct  nodetool::COMMAND_HANDSHAKE_T< t_playload_type >::request_t
struct  nodetool::COMMAND_HANDSHAKE_T< t_playload_type >::response_t
struct  nodetool::COMMAND_TIMED_SYNC_T< t_playload_type >
struct  nodetool::COMMAND_TIMED_SYNC_T< t_playload_type >::request_t
struct  nodetool::COMMAND_TIMED_SYNC_T< t_playload_type >::response_t
struct  nodetool::COMMAND_PING
struct  nodetool::COMMAND_PING::request_t
struct  nodetool::COMMAND_PING::response_t
struct  nodetool::COMMAND_REQUEST_SUPPORT_FLAGS
struct  nodetool::COMMAND_REQUEST_SUPPORT_FLAGS::request_t
struct  nodetool::COMMAND_REQUEST_SUPPORT_FLAGS::response_t

Namespaces

namespace  nodetool

Macros

#define P2P_COMMANDS_POOL_BASE   1000
#define PING_OK_RESPONSE_STATUS_TEXT   "OK"

Typedefs

typedef uint64_t nodetool::peerid_type
typedef peerlist_entry_base< epee::net_utils::network_addressnodetool::peerlist_entry
typedef anchor_peerlist_entry_base< epee::net_utils::network_addressnodetool::anchor_peerlist_entry
typedef connection_entry_base< epee::net_utils::network_addressnodetool::connection_entry

Functions

static std::string nodetool::peerid_to_string (peerid_type peer_id)
std::string nodetool::print_peerlist_to_string (const std::vector< peerlist_entry > &pl)

Macro Definition Documentation

◆ P2P_COMMANDS_POOL_BASE

#define P2P_COMMANDS_POOL_BASE   1000

◆ PING_OK_RESPONSE_STATUS_TEXT

#define PING_OK_RESPONSE_STATUS_TEXT   "OK"