BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
Go to the documentation of this file.
25 #include <boost/iterator/iterator_facade.hpp>
71 class peer_database_impl;
73 class peer_database_iterator_impl;
75 const potential_peer_record,
76 boost::forward_traversal_tag>
85 friend class boost::iterator_core_access;
90 std::unique_ptr<peer_database_iterator_impl> my;
116 std::unique_ptr<detail::peer_database_impl> my;
potential_peer_last_connection_disposition
fc::time_point_sec last_seen_time
potential_peer_record lookup_or_create_entry_for_ep(const fc::ip::endpoint &endpointToLookup) const
~peer_database_iterator()
fc::optional< fc::exception > last_error
void open(const fc::path &databaseFilename)
void erase(const fc::ip::endpoint &endpointToErase)
FC_REFLECT_TYPENAME(fc::log_message)
@ last_connection_rejected
fc::ip::endpoint endpoint
Defines types and macros used to provide reflection.
potential_peer_record(const fc::ip::endpoint &endpoint, const fc::time_point_sec &last_seen_time=fc::time_point_sec(), potential_peer_last_connection_disposition last_connection_disposition=never_attempted_to_connect)
uint32_t number_of_successful_connection_attempts
wraps boost::filesystem::path to provide platform independent path manipulation.
potential_peer_record()=default
#define GRAPHENE_DECLARE_EXTERNAL_SERIALIZATION(type)
@ last_connection_succeeded
fc::optional< potential_peer_record > lookup_entry_for_endpoint(const fc::ip::endpoint &endpointToLookup) const
@ last_connection_handshaking_failed
@ never_attempted_to_connect
Defines exception's used by fc.
void update_entry(const potential_peer_record &updatedRecord)
fc::time_point_sec last_connection_attempt_time
uint32_t number_of_failed_connection_attempts
fc::enum_type< uint8_t, potential_peer_last_connection_disposition > last_connection_disposition