Process netinfo requests.
More...
Process netinfo requests.
Definition at line 412 of file bitcoin-cli.cpp.
◆ ChainToString()
std::string NetinfoRequestHandler::ChainToString |
( |
| ) |
const |
|
inlineprivate |
◆ DetailsRequested()
bool NetinfoRequestHandler::DetailsRequested |
( |
| ) |
const |
|
inlineprivate |
◆ IsAddressSelected()
bool NetinfoRequestHandler::IsAddressSelected |
( |
| ) |
const |
|
inlineprivate |
◆ IsVersionSelected()
bool NetinfoRequestHandler::IsVersionSelected |
( |
| ) |
const |
|
inlineprivate |
◆ NetworkStringToId()
int8_t NetinfoRequestHandler::NetworkStringToId |
( |
const std::string & |
str | ) |
const |
|
inlineprivate |
◆ PingTimeToString()
std::string NetinfoRequestHandler::PingTimeToString |
( |
double |
seconds | ) |
const |
|
inlineprivate |
◆ PrepareRequest()
UniValue NetinfoRequestHandler::PrepareRequest |
( |
const std::string & |
method, |
|
|
const std::vector< std::string > & |
args |
|
) |
| |
|
inlineoverridevirtual |
◆ ProcessReply()
◆ ID_NETWORKINFO
◆ ID_PEERINFO
◆ m_counts
◆ m_details_level
uint8_t NetinfoRequestHandler::m_details_level {0} |
|
private |
Optional user-supplied arg to set dashboard details level.
Definition at line 429 of file bitcoin-cli.cpp.
◆ m_is_asmap_on
bool NetinfoRequestHandler::m_is_asmap_on {false} |
|
private |
◆ m_max_addr_length
size_t NetinfoRequestHandler::m_max_addr_length {0} |
|
private |
◆ m_max_age_length
size_t NetinfoRequestHandler::m_max_age_length {4} |
|
private |
◆ m_max_id_length
size_t NetinfoRequestHandler::m_max_id_length {2} |
|
private |
◆ m_networks
const std::array<std::string, m_networks_size> NetinfoRequestHandler::m_networks |
|
private |
Initial value:{
{"ipv4", "ipv6", "onion"}}
Definition at line 416 of file bitcoin-cli.cpp.
◆ m_networks_size
◆ m_peers
std::vector<Peer> NetinfoRequestHandler::m_peers |
|
private |
◆ m_time_now
const int64_t NetinfoRequestHandler::m_time_now |
|
private |
Initial value:{
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition at line 481 of file bitcoin-cli.cpp.
◆ UNKNOWN_NETWORK
The documentation for this class was generated from the following file: