BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | List of all members
graphene::net::potential_peer_record Struct Reference

#include <peer_database.hpp>

Public Member Functions

 potential_peer_record ()
 
 potential_peer_record (fc::ip::endpoint endpoint, fc::time_point_sec last_seen_time=fc::time_point_sec(), potential_peer_last_connection_disposition last_connection_disposition=never_attempted_to_connect)
 

Public Attributes

fc::ip::endpoint endpoint
 
fc::time_point_sec last_seen_time
 
fc::enum_type< uint8_t, potential_peer_last_connection_dispositionlast_connection_disposition
 
fc::time_point_sec last_connection_attempt_time
 
uint32_t number_of_successful_connection_attempts
 
uint32_t number_of_failed_connection_attempts
 
fc::optional< fc::exceptionlast_error
 

Detailed Description

Definition at line 47 of file peer_database.hpp.

Constructor & Destructor Documentation

graphene::net::potential_peer_record::potential_peer_record ( )
inline

Definition at line 57 of file peer_database.hpp.

graphene::net::potential_peer_record::potential_peer_record ( fc::ip::endpoint  endpoint,
fc::time_point_sec  last_seen_time = fc::time_point_sec(),
potential_peer_last_connection_disposition  last_connection_disposition = never_attempted_to_connect 
)
inline

Definition at line 61 of file peer_database.hpp.

Member Data Documentation

fc::ip::endpoint graphene::net::potential_peer_record::endpoint

Definition at line 49 of file peer_database.hpp.

fc::time_point_sec graphene::net::potential_peer_record::last_connection_attempt_time

Definition at line 52 of file peer_database.hpp.

fc::enum_type<uint8_t,potential_peer_last_connection_disposition> graphene::net::potential_peer_record::last_connection_disposition

Definition at line 51 of file peer_database.hpp.

fc::optional<fc::exception> graphene::net::potential_peer_record::last_error

Definition at line 55 of file peer_database.hpp.

fc::time_point_sec graphene::net::potential_peer_record::last_seen_time

Definition at line 50 of file peer_database.hpp.

uint32_t graphene::net::potential_peer_record::number_of_failed_connection_attempts

Definition at line 54 of file peer_database.hpp.

uint32_t graphene::net::potential_peer_record::number_of_successful_connection_attempts

Definition at line 53 of file peer_database.hpp.


The documentation for this struct was generated from the following file: