BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
#include <peer_database.hpp>
Public Types | |
using | iterator = detail::peer_database_iterator |
Public Member Functions | |
peer_database () | |
virtual | ~peer_database () |
void | open (const fc::path &databaseFilename) |
void | close () |
void | clear () |
void | erase (const fc::ip::endpoint &endpointToErase) |
void | update_entry (const potential_peer_record &updatedRecord) |
potential_peer_record | lookup_or_create_entry_for_ep (const fc::ip::endpoint &endpointToLookup) const |
fc::optional< potential_peer_record > | lookup_entry_for_endpoint (const fc::ip::endpoint &endpointToLookup) const |
iterator | begin () const |
iterator | end () const |
size_t | size () const |
Definition at line 95 of file peer_database.hpp.
Definition at line 111 of file peer_database.hpp.
graphene::net::peer_database::peer_database | ( | ) |
Definition at line 224 of file peer_database.cpp.
|
virtual |
Definition at line 229 of file peer_database.cpp.
peer_database::iterator graphene::net::peer_database::begin | ( | ) | const |
Definition at line 269 of file peer_database.cpp.
void graphene::net::peer_database::clear | ( | ) |
Definition at line 242 of file peer_database.cpp.
void graphene::net::peer_database::close | ( | ) |
Definition at line 237 of file peer_database.cpp.
peer_database::iterator graphene::net::peer_database::end | ( | ) | const |
Definition at line 274 of file peer_database.cpp.
void graphene::net::peer_database::erase | ( | const fc::ip::endpoint & | endpointToErase | ) |
Definition at line 247 of file peer_database.cpp.
fc::optional< potential_peer_record > graphene::net::peer_database::lookup_entry_for_endpoint | ( | const fc::ip::endpoint & | endpointToLookup | ) | const |
Definition at line 263 of file peer_database.cpp.
potential_peer_record graphene::net::peer_database::lookup_or_create_entry_for_ep | ( | const fc::ip::endpoint & | endpointToLookup | ) | const |
Definition at line 257 of file peer_database.cpp.
void graphene::net::peer_database::open | ( | const fc::path & | databaseFilename | ) |
Definition at line 232 of file peer_database.cpp.
size_t graphene::net::peer_database::size | ( | ) | const |
Definition at line 279 of file peer_database.cpp.
void graphene::net::peer_database::update_entry | ( | const potential_peer_record & | updatedRecord | ) |
Definition at line 252 of file peer_database.cpp.