Electroneum
p2p_protocol_defs.h File Reference
#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 "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
 

Namespaces

 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

std::string nodetool::print_peerlist_to_string (const std::vector< peerlist_entry > &pl)
 
crypto::hash nodetool::get_proof_of_trust_hash (const nodetool::proof_of_trust &pot)
 

Macro Definition Documentation

◆ P2P_COMMANDS_POOL_BASE

#define P2P_COMMANDS_POOL_BASE   1000

Definition at line 182 of file p2p_protocol_defs.h.

◆ PING_OK_RESPONSE_STATUS_TEXT

#define PING_OK_RESPONSE_STATUS_TEXT   "OK"

Definition at line 321 of file p2p_protocol_defs.h.