Model for Bitcoin network client.
More...
#include <clientmodel.h>
Model for Bitcoin network client.
Definition at line 43 of file clientmodel.h.
◆ NumConnections
Enumerator |
---|
CONNECTIONS_NONE | |
CONNECTIONS_IN | |
CONNECTIONS_OUT | |
CONNECTIONS_ALL | |
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
◆ dataDir()
QString ClientModel::dataDir |
( |
| ) |
const |
◆ formatClientStartupTime()
QString ClientModel::formatClientStartupTime |
( |
| ) |
const |
◆ formatFullVersion()
QString ClientModel::formatFullVersion |
( |
| ) |
const |
◆ formatSubVersion()
QString ClientModel::formatSubVersion |
( |
| ) |
const |
◆ getBanTableModel()
◆ getBestBlockHash()
◆ getBlockSource()
Returns the block source of the current importing/syncing state.
Definition at line 138 of file clientmodel.cpp.
◆ getHeaderTipHeight()
int ClientModel::getHeaderTipHeight |
( |
| ) |
const |
◆ getHeaderTipTime()
int64_t ClientModel::getHeaderTipTime |
( |
| ) |
const |
◆ getNumBlocks()
int ClientModel::getNumBlocks |
( |
| ) |
const |
◆ getNumConnections()
Return number of connections, default is in- and outbound (total)
Definition at line 69 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 148 of file clientmodel.cpp.
◆ GUARDED_BY()
◆ isReleaseVersion()
bool ClientModel::isReleaseVersion |
( |
| ) |
const |
◆ mempoolSizeChanged
void ClientModel::mempoolSizeChanged |
( |
long |
count, |
|
|
size_t |
mempoolSizeInBytes |
|
) |
| |
|
signal |
◆ message
Fired when a message should be reported to the user.
◆ networkActiveChanged
void ClientModel::networkActiveChanged |
( |
bool |
networkActive | ) |
|
|
signal |
◆ node()
◆ numBlocksChanged
◆ numConnectionsChanged
void ClientModel::numConnectionsChanged |
( |
int |
count | ) |
|
|
signal |
◆ showProgress
void ClientModel::showProgress |
( |
const QString & |
title, |
|
|
int |
nProgress |
|
) |
| |
|
signal |
◆ subscribeToCoreSignals()
void ClientModel::subscribeToCoreSignals |
( |
| ) |
|
|
private |
◆ TipChanged()
◆ unsubscribeFromCoreSignals()
void ClientModel::unsubscribeFromCoreSignals |
( |
| ) |
|
|
private |
◆ 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_thread
QThread* const ClientModel::m_thread |
|
private |
A thread to interact with m_node asynchronously.
Definition at line 108 of file clientmodel.h.
◆ optionsModel
◆ peerTableModel
The documentation for this class was generated from the following files: