BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Classes | Namespaces | Macros
node_impl.hxx File Reference
#include <memory>
#include <boost/accumulators/accumulators.hpp>
#include <boost/accumulators/statistics.hpp>
#include <boost/accumulators/statistics/rolling_mean.hpp>
#include <fc/thread/thread.hpp>
#include <fc/thread/mutex.hpp>
#include <fc/thread/scoped_lock.hpp>
#include <fc/log/logger.hpp>
#include <fc/network/tcp_socket.hpp>
#include <fc/network/rate_limiting.hpp>
#include <graphene/chain/config.hpp>
#include <graphene/protocol/types.hpp>
#include <graphene/net/node.hpp>
#include <graphene/net/core_messages.hpp>
#include <graphene/net/peer_connection.hpp>

Go to the source code of this file.

Classes

class  graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >
 
class  graphene::net::detail::blockchain_tied_message_cache
 
struct  graphene::net::detail::prioritized_item_id
 
class  graphene::net::detail::statistics_gathering_node_delegate_wrapper
 
class  graphene::net::detail::statistics_gathering_node_delegate_wrapper::call_statistics_collector::actual_execution_measurement_helper
 
struct  graphene::net::detail::node_configuration
 
class  graphene::net::detail::node_impl
 
class  graphene::net::detail::node_impl::address_builder
 
struct  graphene::net::detail::node_impl::item_id_index
 
struct  graphene::net::detail::node_impl_deleter
 

Namespaces

 graphene
 
 graphene::net
 
 graphene::net::detail
 

Macros

#define P2P_IN_DEDICATED_THREAD
 
#define DEFAULT_LOGGER   "p2p"
 
#define testnetlog(...)   do {} while (0)
 
#define NODE_DELEGATE_METHOD_NAMES
 
#define DECLARE_ACCUMULATOR(r, data, method_name)
 
#define NODE_CONFIGURATION_FILENAME   "node_config.json"
 
#define POTENTIAL_PEER_DATABASE_FILENAME   "peers.json"
 

Macro Definition Documentation

◆ DECLARE_ACCUMULATOR

#define DECLARE_ACCUMULATOR (   r,
  data,
  method_name 
)
Value:
mutable call_stats_accumulator BOOST_PP_CAT(_, BOOST_PP_CAT(method_name, _execution_accumulator)); \
mutable call_stats_accumulator BOOST_PP_CAT(_, BOOST_PP_CAT(method_name, _delay_before_accumulator)); \
mutable call_stats_accumulator BOOST_PP_CAT(_, BOOST_PP_CAT(method_name, _delay_after_accumulator));

Definition at line 291 of file node_impl.hxx.

◆ DEFAULT_LOGGER

#define DEFAULT_LOGGER   "p2p"

Definition at line 33 of file node_impl.hxx.

◆ NODE_CONFIGURATION_FILENAME

#define NODE_CONFIGURATION_FILENAME   "node_config.json"

Definition at line 429 of file node_impl.hxx.

◆ NODE_DELEGATE_METHOD_NAMES

#define NODE_DELEGATE_METHOD_NAMES
Value:
(has_item) \
(handle_message) \
(handle_block) \
(handle_transaction) \
(get_block_ids) \
(get_item) \
(get_chain_id) \
(get_blockchain_synopsis) \
(sync_status) \
(connection_count_changed) \
(get_block_number) \
(get_block_time) \
(get_head_block_id) \
(estimate_last_known_fork_from_git_revision_timestamp) \
(error_encountered) \
(get_current_block_interval_in_seconds)

Definition at line 272 of file node_impl.hxx.

◆ P2P_IN_DEDICATED_THREAD

#define P2P_IN_DEDICATED_THREAD

Definition at line 26 of file node_impl.hxx.

◆ POTENTIAL_PEER_DATABASE_FILENAME

#define POTENTIAL_PEER_DATABASE_FILENAME   "peers.json"

Definition at line 430 of file node_impl.hxx.

◆ testnetlog

#define testnetlog (   ...)    do {} while (0)

Definition at line 39 of file node_impl.hxx.