Process netinfo requests.
More...
Process netinfo requests.
Definition at line 416 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
constexpr int NetinfoRequestHandler::ID_NETWORKINFO = 1 |
|
staticconstexpr |
◆ ID_PEERINFO
constexpr int NetinfoRequestHandler::ID_PEERINFO = 0 |
|
staticconstexpr |
◆ m_counts
std::array<std::array<uint16_t, m_networks_size + 2>, 3> NetinfoRequestHandler::m_counts {{{}}} |
|
private |
◆ m_details_level
uint8_t NetinfoRequestHandler::m_details_level {0} |
|
private |
Optional user-supplied arg to set dashboard details level.
Definition at line 433 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 420 of file bitcoin-cli.cpp.
◆ m_networks_size
constexpr uint8_t NetinfoRequestHandler::m_networks_size {3} |
|
staticconstexprprivate |
◆ m_peers
std::vector<Peer> NetinfoRequestHandler::m_peers |
|
private |
◆ m_time_now
const int64_t NetinfoRequestHandler::m_time_now |
|
private |
Initial value:{
TicksSinceEpoch<std::chrono::seconds>(CliClock::now())}
Definition at line 485 of file bitcoin-cli.cpp.
◆ UNKNOWN_NETWORK
constexpr int8_t NetinfoRequestHandler::UNKNOWN_NETWORK {-1} |
|
staticconstexprprivate |
The documentation for this class was generated from the following file: