BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
core_messages.hpp File Reference
#include <graphene/net/config.hpp>
#include <fc/crypto/ripemd160.hpp>
#include <fc/crypto/elliptic.hpp>
#include <fc/crypto/sha256.hpp>
#include <fc/network/ip.hpp>
#include <fc/time.hpp>
#include <fc/variant_object.hpp>
#include <fc/exception/exception.hpp>
#include <fc/io/enum_type.hpp>
#include <graphene/protocol/block.hpp>
#include <vector>
#include <unordered_map>
#include <fc/crypto/city.hpp>
#include <fc/crypto/sha224.hpp>

Go to the source code of this file.

Classes

struct  graphene::net::item_id
 
struct  graphene::net::trx_message
 
struct  graphene::net::block_message
 
struct  graphene::net::item_ids_inventory_message
 
struct  graphene::net::blockchain_item_ids_inventory_message
 
struct  graphene::net::fetch_blockchain_item_ids_message
 
struct  graphene::net::fetch_items_message
 
struct  graphene::net::item_not_available_message
 
struct  graphene::net::hello_message
 
struct  graphene::net::connection_accepted_message
 
struct  graphene::net::connection_rejected_message
 
struct  graphene::net::address_request_message
 
struct  graphene::net::address_info
 
struct  graphene::net::address_message
 
struct  graphene::net::closing_connection_message
 
struct  graphene::net::current_time_request_message
 
struct  graphene::net::current_time_reply_message
 
struct  graphene::net::check_firewall_message
 
struct  graphene::net::check_firewall_reply_message
 
struct  graphene::net::get_current_connections_request_message
 
struct  graphene::net::current_connection_data
 
struct  graphene::net::get_current_connections_reply_message
 

Namespaces

 graphene
 
 graphene::net
 

Typedefs

typedef fc::ecc::public_key_data graphene::net::node_id_t
 
typedef fc::ripemd160 graphene::net::item_hash_t
 

Enumerations

enum  graphene::net::core_message_type_enum {
  graphene::net::trx_message_type = 1000, graphene::net::block_message_type = 1001, graphene::net::core_message_type_first = 5000, graphene::net::item_ids_inventory_message_type = 5001,
  graphene::net::blockchain_item_ids_inventory_message_type = 5002, graphene::net::fetch_blockchain_item_ids_message_type = 5003, graphene::net::fetch_items_message_type = 5004, graphene::net::item_not_available_message_type = 5005,
  graphene::net::hello_message_type = 5006, graphene::net::connection_accepted_message_type = 5007, graphene::net::connection_rejected_message_type = 5008, graphene::net::address_request_message_type = 5009,
  graphene::net::address_message_type = 5010, graphene::net::closing_connection_message_type = 5011, graphene::net::current_time_request_message_type = 5012, graphene::net::current_time_reply_message_type = 5013,
  graphene::net::check_firewall_message_type = 5014, graphene::net::check_firewall_reply_message_type = 5015, graphene::net::get_current_connections_request_message_type = 5016, graphene::net::get_current_connections_reply_message_type = 5017,
  graphene::net::core_message_type_last = 5099
}
 
enum  graphene::net::rejection_reason_code {
  graphene::net::rejection_reason_code::unspecified, graphene::net::rejection_reason_code::different_chain, graphene::net::rejection_reason_code::already_connected, graphene::net::rejection_reason_code::connected_to_self,
  graphene::net::rejection_reason_code::not_accepting_connections, graphene::net::rejection_reason_code::blocked, graphene::net::rejection_reason_code::invalid_hello_message, graphene::net::rejection_reason_code::client_too_old
}
 
enum  graphene::net::peer_connection_direction { graphene::net::peer_connection_direction::unknown, graphene::net::peer_connection_direction::inbound, graphene::net::peer_connection_direction::outbound }
 
enum  graphene::net::firewalled_state { graphene::net::firewalled_state::unknown, graphene::net::firewalled_state::firewalled, graphene::net::firewalled_state::not_firewalled }
 
enum  graphene::net::firewall_check_result { graphene::net::firewall_check_result::unable_to_check, graphene::net::firewall_check_result::unable_to_connect, graphene::net::firewall_check_result::connection_successful }
 

Functions

 FC_REFLECT_ENUM (graphene::net::core_message_type_enum,(trx_message_type)(block_message_type)(core_message_type_first)(item_ids_inventory_message_type)(blockchain_item_ids_inventory_message_type)(fetch_blockchain_item_ids_message_type)(fetch_items_message_type)(item_not_available_message_type)(hello_message_type)(connection_accepted_message_type)(connection_rejected_message_type)(address_request_message_type)(address_message_type)(closing_connection_message_type)(current_time_request_message_type)(current_time_reply_message_type)(check_firewall_message_type)(check_firewall_reply_message_type)(get_current_connections_request_message_type)(get_current_connections_reply_message_type)(core_message_type_last))(different_chain)(already_connected)(connected_to_self)(not_accepting_connections)(blocked)(invalid_hello_message)(client_too_old))(inbound)(outbound))(firewalled)(not_firewalled))(unable_to_connect)(connection_successful)) namespace std
 

Variables

const uint32_t graphene::net::core_protocol_version = GRAPHENE_NET_PROTOCOL_VERSION
 

Function Documentation

◆ FC_REFLECT_ENUM()

FC_REFLECT_ENUM ( graphene::net::core_message_type_enum  ,
(trx_message_type)(block_message_type)(core_message_type_first)(item_ids_inventory_message_type)(blockchain_item_ids_inventory_message_type)(fetch_blockchain_item_ids_message_type)(fetch_items_message_type)(item_not_available_message_type)(hello_message_type)(connection_accepted_message_type)(connection_rejected_message_type)(address_request_message_type)(address_message_type)(closing_connection_message_type)(current_time_request_message_type)(current_time_reply_message_type)(check_firewall_message_type)(check_firewall_reply_message_type)(get_current_connections_request_message_type)(get_current_connections_reply_message_type)(core_message_type_last)   
)

Definition at line 404 of file core_messages.hpp.