BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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 ()=default
 
 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)
 

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 = 0
 
uint32_t number_of_failed_connection_attempts = 0
 
fc::optional< fc::exceptionlast_error
 

Detailed Description

Definition at line 47 of file peer_database.hpp.

Constructor & Destructor Documentation

◆ potential_peer_record() [1/2]

graphene::net::potential_peer_record::potential_peer_record ( )
default

◆ potential_peer_record() [2/2]

graphene::net::potential_peer_record::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 
)
inlineexplicit

Definition at line 59 of file peer_database.hpp.

Member Data Documentation

◆ endpoint

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

Definition at line 49 of file peer_database.hpp.

◆ last_connection_attempt_time

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

Definition at line 52 of file peer_database.hpp.

◆ last_connection_disposition

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.

◆ last_error

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

Definition at line 55 of file peer_database.hpp.

◆ last_seen_time

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

Definition at line 50 of file peer_database.hpp.

◆ number_of_failed_connection_attempts

uint32_t graphene::net::potential_peer_record::number_of_failed_connection_attempts = 0

Definition at line 54 of file peer_database.hpp.

◆ number_of_successful_connection_attempts

uint32_t graphene::net::potential_peer_record::number_of_successful_connection_attempts = 0

Definition at line 53 of file peer_database.hpp.


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