Model for Bitcoin network client.
More...
#include <clientmodel.h>
Model for Bitcoin network client.
Definition at line 47 of file clientmodel.h.
◆ ClientModel()
◆ ~ClientModel()
| ClientModel::~ClientModel |
( |
| ) |
|
◆ alertsChanged
| void ClientModel::alertsChanged |
( |
const QString & |
warnings | ) |
|
|
signal |
◆ blocksDir()
| QString ClientModel::blocksDir |
( |
| ) |
const |
◆ bytesChanged
| void ClientModel::bytesChanged |
( |
quint64 |
totalBytesIn, |
|
|
quint64 |
totalBytesOut |
|
) |
| |
|
signal |
◆ dataDir()
| QString ClientModel::dataDir |
( |
| ) |
const |
◆ formatClientStartupTime()
| QString ClientModel::formatClientStartupTime |
( |
| ) |
const |
◆ formatFullVersion()
| QString ClientModel::formatFullVersion |
( |
| ) |
const |
◆ formatSubVersion()
| QString ClientModel::formatSubVersion |
( |
| ) |
const |
◆ getBanTableModel()
◆ getBestBlockHash()
| uint256 ClientModel::getBestBlockHash |
( |
| ) |
|
◆ getBlockSource()
Returns enum BlockSource of the current importing/syncing state.
Definition at line 165 of file clientmodel.cpp.
◆ getHeaderTipHeight()
| int ClientModel::getHeaderTipHeight |
( |
| ) |
const |
◆ getHeaderTipTime()
| int64_t ClientModel::getHeaderTipTime |
( |
| ) |
const |
◆ getNumBlocks()
| int ClientModel::getNumBlocks |
( |
| ) |
const |
◆ getNumConnections()
| int ClientModel::getNumConnections |
( |
unsigned int |
flags = CONNECTIONS_ALL | ) |
const |
Return number of connections, default is in- and outbound (total)
Definition at line 77 of file clientmodel.cpp.
◆ getOptionsModel()
◆ getPeerTableModel()
◆ getProxyInfo()
| bool ClientModel::getProxyInfo |
( |
std::string & |
ip_port | ) |
const |
◆ getStatusBarWarnings()
| QString ClientModel::getStatusBarWarnings |
( |
| ) |
const |
Return warnings to be displayed in status bar.
Definition at line 177 of file clientmodel.cpp.
◆ GUARDED_BY()
◆ isReleaseVersion()
| bool ClientModel::isReleaseVersion |
( |
| ) |
const |
◆ mempoolSizeChanged
| void ClientModel::mempoolSizeChanged |
( |
long |
count, |
|
|
size_t |
mempoolSizeInBytes |
|
) |
| |
|
signal |
◆ message
| void ClientModel::message |
( |
const QString & |
title, |
|
|
const QString & |
message, |
|
|
unsigned int |
style |
|
) |
| |
|
signal |
◆ networkActiveChanged
| void ClientModel::networkActiveChanged |
( |
bool |
networkActive | ) |
|
|
signal |
◆ node()
◆ numBlocksChanged
| void ClientModel::numBlocksChanged |
( |
int |
count, |
|
|
const QDateTime & |
blockDate, |
|
|
double |
nVerificationProgress, |
|
|
bool |
header, |
|
|
SynchronizationState |
sync_state |
|
) |
| |
|
signal |
◆ numConnectionsChanged
| void ClientModel::numConnectionsChanged |
( |
int |
count | ) |
|
|
signal |
◆ peerTableSortProxy()
◆ showProgress
| void ClientModel::showProgress |
( |
const QString & |
title, |
|
|
int |
nProgress |
|
) |
| |
|
signal |
◆ subscribeToCoreSignals()
| void ClientModel::subscribeToCoreSignals |
( |
| ) |
|
|
private |
◆ unsubscribeFromCoreSignals()
| void ClientModel::unsubscribeFromCoreSignals |
( |
| ) |
|
|
private |
◆ updateAlert
| void ClientModel::updateAlert |
( |
| ) |
|
|
slot |
◆ updateBanlist
| void ClientModel::updateBanlist |
( |
| ) |
|
|
slot |
◆ updateNetworkActive
| void ClientModel::updateNetworkActive |
( |
bool |
networkActive | ) |
|
|
slot |
◆ updateNumConnections
| void ClientModel::updateNumConnections |
( |
int |
numConnections | ) |
|
|
slot |
◆ banTableModel
◆ cachedBestHeaderHeight
| std::atomic<int> ClientModel::cachedBestHeaderHeight |
|
mutable |
◆ cachedBestHeaderTime
| std::atomic<int64_t> ClientModel::cachedBestHeaderTime |
|
mutable |
◆ m_cached_num_blocks
| std::atomic<int> ClientModel::m_cached_num_blocks {-1} |
|
mutable |
◆ m_cached_tip_mutex
| Mutex ClientModel::m_cached_tip_mutex |
◆ m_handler_banned_list_changed
◆ m_handler_notify_alert_changed
◆ m_handler_notify_block_tip
◆ m_handler_notify_header_tip
◆ m_handler_notify_network_active_changed
◆ m_handler_notify_num_connections_changed
◆ m_handler_show_progress
◆ m_node
◆ m_peer_table_sort_proxy
◆ m_thread
| QThread* const ClientModel::m_thread |
|
private |
A thread to interact with m_node asynchronously.
Definition at line 105 of file clientmodel.h.
◆ optionsModel
◆ peerTableModel
The documentation for this class was generated from the following files: