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