Model for Raven network client.
More...
#include <clientmodel.h>
Model for Raven network client.
Definition at line 39 of file clientmodel.h.
◆ ClientModel()
ClientModel::ClientModel |
( |
OptionsModel * |
optionsModel, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
◆ ~ClientModel()
ClientModel::~ClientModel |
( |
| ) |
|
◆ alertsChanged
void ClientModel::alertsChanged |
( |
const QString & |
warnings | ) |
|
|
signal |
◆ 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()
◆ getBlockSource()
Returns enum BlockSource of the current importing/syncing state.
Definition at line 178 of file clientmodel.cpp.
◆ getHeaderTipHeight()
int ClientModel::getHeaderTipHeight |
( |
| ) |
const |
◆ getHeaderTipTime()
int64_t ClientModel::getHeaderTipTime |
( |
| ) |
const |
◆ getLastBlockDate()
QDateTime ClientModel::getLastBlockDate |
( |
| ) |
const |
◆ getMempoolDynamicUsage()
size_t ClientModel::getMempoolDynamicUsage |
( |
| ) |
const |
Return the dynamic memory usage of the mempool.
Definition at line 134 of file clientmodel.cpp.
◆ getMempoolSize()
long ClientModel::getMempoolSize |
( |
| ) |
const |
Return number of transactions in the mempool.
Definition at line 129 of file clientmodel.cpp.
◆ getNetworkActive()
bool ClientModel::getNetworkActive |
( |
| ) |
const |
Return true if network activity in core is enabled.
Definition at line 197 of file clientmodel.cpp.
◆ 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 57 of file clientmodel.cpp.
◆ getOptionsModel()
◆ getPeerTableModel()
◆ getStatusBarWarnings()
QString ClientModel::getStatusBarWarnings |
( |
| ) |
const |
Return warnings to be displayed in status bar.
Definition at line 205 of file clientmodel.cpp.
◆ getTotalBytesRecv()
quint64 ClientModel::getTotalBytesRecv |
( |
| ) |
const |
◆ getTotalBytesSent()
quint64 ClientModel::getTotalBytesSent |
( |
| ) |
const |
◆ getVerificationProgress()
double ClientModel::getVerificationProgress |
( |
const CBlockIndex * |
tip | ) |
const |
◆ inInitialBlockDownload()
bool ClientModel::inInitialBlockDownload |
( |
| ) |
const |
Return true if core is doing initial block download.
Definition at line 173 of file clientmodel.cpp.
◆ 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 |
Fired when a message should be reported to the user.
◆ networkActiveChanged
void ClientModel::networkActiveChanged |
( |
bool |
networkActive | ) |
|
|
signal |
◆ numBlocksChanged
void ClientModel::numBlocksChanged |
( |
int |
count, |
|
|
const QDateTime & |
blockDate, |
|
|
double |
nVerificationProgress, |
|
|
bool |
header |
|
) |
| |
|
signal |
◆ numConnectionsChanged
void ClientModel::numConnectionsChanged |
( |
int |
count | ) |
|
|
signal |
◆ setNetworkActive()
void ClientModel::setNetworkActive |
( |
bool |
active | ) |
|
◆ 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 |
◆ updateTimer
void ClientModel::updateTimer |
( |
| ) |
|
|
slot |
◆ banTableModel
◆ cachedBestHeaderHeight
std::atomic<int> ClientModel::cachedBestHeaderHeight |
|
mutable |
◆ cachedBestHeaderTime
std::atomic<int64_t> ClientModel::cachedBestHeaderTime |
|
mutable |
◆ optionsModel
◆ peerTableModel
◆ pollTimer
QTimer* ClientModel::pollTimer |
|
private |
The documentation for this class was generated from the following files: