5 #ifndef BITCOIN_QT_CLIENTMODEL_H
6 #define BITCOIN_QT_CLIENTMODEL_H
102 void numBlocksChanged(
int count,
const QDateTime& blockDate,
double nVerificationProgress,
bool header);
Qt model of the address book in the core.
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call.
The block chain is a tree shaped structure starting with the genesis block at the root,...
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances,...
Model for Bitcoin network client.
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
void showProgress(const QString &title, int nProgress)
void setNetworkActive(bool active)
Toggle network activity state in core.
QString getStatusBarWarnings() const
Return warnings to be displayed in status bar.
void updateAlert(const QString &hash, int status)
int getHeaderTipHeight() const
std::atomic< int64_t > cachedBestHeaderTime
void numBlocksChanged(int count, const QDateTime &blockDate, double nVerificationProgress, bool header)
quint64 getTotalBytesRecv() const
quint64 getTotalBytesSent() const
PeerTableModel * getPeerTableModel()
void updateNetworkActive(bool networkActive)
std::atomic< int > cachedBestHeaderHeight
void updateNumConnections(int numConnections)
size_t getMempoolDynamicUsage() const
Return the dynamic memory usage of the mempool.
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
QDateTime getLastBlockDate() const
void numConnectionsChanged(int count)
int64_t getHeaderTipTime() const
double getVerificationProgress(const CBlockIndex *tip) const
bool getNetworkActive() const
Return true if network activity in core is enabled.
QString formatClientStartupTime() const
int getNumConnections(unsigned int flags=CONNECTIONS_ALL) const
Return number of connections, default is in- and outbound (total)
enum BlockSource getBlockSource() const
Returns enum BlockSource of the current importing/syncing state.
OptionsModel * optionsModel
BanTableModel * banTableModel
BanTableModel * getBanTableModel()
void unsubscribeFromCoreSignals()
long getMempoolSize() const
Return number of transactions in the mempool.
void alertsChanged(const QString &warnings)
OptionsModel * getOptionsModel()
QString formatFullVersion() const
PeerTableModel * peerTableModel
ClientModel(OptionsModel *optionsModel, QObject *parent=0)
QString formatSubVersion() const
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
bool isReleaseVersion() const
bool inInitialBlockDownload() const
Return true if core is doing initial block download.
void subscribeToCoreSignals()
void networkActiveChanged(bool networkActive)
Interface from Qt to configuration data structure for Bitcoin client.
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call.
UI model for the transaction table of a wallet.