Model for Fabcoin network client.
More...
#include <clientmodel.h>
Model for Fabcoin network client.
Definition at line 38 of file clientmodel.h.
| ClientModel::ClientModel |
( |
OptionsModel * |
optionsModel, |
|
|
QObject * |
parent = 0 |
|
) |
| |
|
explicit |
| ClientModel::~ClientModel |
( |
| ) |
|
| void ClientModel::alertsChanged |
( |
const QString & |
warnings | ) |
|
|
signal |
| void ClientModel::bytesChanged |
( |
quint64 |
totalBytesIn, |
|
|
quint64 |
totalBytesOut |
|
) |
| |
|
signal |
| QString ClientModel::dataDir |
( |
| ) |
const |
| QString ClientModel::formatClientStartupTime |
( |
| ) |
const |
| QString ClientModel::formatFullVersion |
( |
| ) |
const |
| QString ClientModel::formatSubVersion |
( |
| ) |
const |
Returns enum BlockSource of the current importing/syncing state.
Definition at line 178 of file clientmodel.cpp.
| void ClientModel::getGasInfo |
( |
uint64_t & |
blockGasLimit, |
|
|
uint64_t & |
minGasPrice, |
|
|
uint64_t & |
nGasPrice |
|
) |
| const |
| int ClientModel::getHeaderTipHeight |
( |
| ) |
const |
| int64_t ClientModel::getHeaderTipTime |
( |
| ) |
const |
| QDateTime ClientModel::getLastBlockDate |
( |
| ) |
const |
| size_t ClientModel::getMempoolDynamicUsage |
( |
| ) |
const |
Return the dynamic memory usage of the mempool.
Definition at line 134 of file clientmodel.cpp.
| long ClientModel::getMempoolSize |
( |
| ) |
const |
Return number of transactions in the mempool.
Definition at line 129 of file clientmodel.cpp.
| bool ClientModel::getNetworkActive |
( |
| ) |
const |
Return true if network activity in core is enabled.
Definition at line 197 of file clientmodel.cpp.
| int ClientModel::getNumBlocks |
( |
| ) |
const |
| 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.
| QString ClientModel::getStatusBarWarnings |
( |
| ) |
const |
Return warnings to be displayed in status bar.
Definition at line 205 of file clientmodel.cpp.
| quint64 ClientModel::getTotalBytesRecv |
( |
| ) |
const |
| quint64 ClientModel::getTotalBytesSent |
( |
| ) |
const |
| double ClientModel::getVerificationProgress |
( |
const CBlockIndex * |
tip | ) |
const |
| bool ClientModel::inInitialBlockDownload |
( |
| ) |
const |
Return true if core is doing initial block download.
Definition at line 173 of file clientmodel.cpp.
| bool ClientModel::isReleaseVersion |
( |
| ) |
const |
| void ClientModel::mempoolSizeChanged |
( |
long |
count, |
|
|
size_t |
mempoolSizeInBytes |
|
) |
| |
|
signal |
| void ClientModel::message |
( |
const QString & |
title, |
|
|
const QString & |
message, |
|
|
unsigned int |
style |
|
) |
| |
|
signal |
| void ClientModel::networkActiveChanged |
( |
bool |
networkActive | ) |
|
|
signal |
| void ClientModel::numBlocksChanged |
( |
int |
count, |
|
|
const QDateTime & |
blockDate, |
|
|
double |
nVerificationProgress, |
|
|
bool |
header |
|
) |
| |
|
signal |
| void ClientModel::numConnectionsChanged |
( |
int |
count | ) |
|
|
signal |
| void ClientModel::setNetworkActive |
( |
bool |
active | ) |
|
| void ClientModel::showProgress |
( |
const QString & |
title, |
|
|
int |
nProgress |
|
) |
| |
|
signal |
| void ClientModel::subscribeToCoreSignals |
( |
| ) |
|
|
private |
| void ClientModel::tipChanged |
( |
| ) |
|
|
signal |
| void ClientModel::unsubscribeFromCoreSignals |
( |
| ) |
|
|
private |
| void ClientModel::updateAlert |
( |
| ) |
|
|
slot |
| void ClientModel::updateBanlist |
( |
| ) |
|
|
slot |
| void ClientModel::updateNetworkActive |
( |
bool |
networkActive | ) |
|
|
slot |
| void ClientModel::updateNumConnections |
( |
int |
numConnections | ) |
|
|
slot |
| void ClientModel::updateTimer |
( |
| ) |
|
|
slot |
| std::atomic<int> ClientModel::cachedBestHeaderHeight |
|
mutable |
| std::atomic<int64_t> ClientModel::cachedBestHeaderTime |
|
mutable |
| QTimer* ClientModel::pollTimer |
|
private |
The documentation for this class was generated from the following files: