5 #ifndef BITCOIN_QT_CLIENTMODEL_H 6 #define BITCOIN_QT_CLIENTMODEL_H 100 void numBlocksChanged(
int count,
const QDateTime& blockDate,
double nVerificationProgress,
bool header);
104 void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut);
107 void message(
const QString &title,
const QString &
message,
unsigned int style);
120 #endif // BITCOIN_QT_CLIENTMODEL_H QString formatClientStartupTime() const
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)
QString formatSubVersion() const
interfaces::Node & m_node
bool isReleaseVersion() const
std::atomic< int64_t > cachedBestHeaderTime
QString blocksDir() const
void networkActiveChanged(bool networkActive)
BanTableModel * banTableModel
std::unique_ptr< interfaces::Handler > m_handler_show_progress
OptionsModel * getOptionsModel()
std::atomic< int > cachedBestHeaderHeight
PeerTableModel * getPeerTableModel()
void numConnectionsChanged(int count)
QString getStatusBarWarnings() const
Return warnings to be displayed in status bar.
void alertsChanged(const QString &warnings)
std::unique_ptr< interfaces::Handler > m_handler_notify_block_tip
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
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.
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call...
void unsubscribeFromCoreSignals()
BanTableModel * getBanTableModel()
interfaces::Node & node() const
void subscribeToCoreSignals()
std::unique_ptr< interfaces::Handler > m_handler_banned_list_changed
ClientModel(interfaces::Node &node, OptionsModel *optionsModel, QObject *parent=0)
void numBlocksChanged(int count, const QDateTime &blockDate, double nVerificationProgress, bool header)
Model for Bitcoin network client.
std::unique_ptr< interfaces::Handler > m_handler_notify_header_tip
std::unique_ptr< interfaces::Handler > m_handler_notify_num_connections_changed
Interface from Qt to configuration data structure for Bitcoin 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...
OptionsModel * optionsModel
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
std::unique_ptr< interfaces::Handler > m_handler_notify_network_active_changed
void updateNumConnections(int numConnections)
int getHeaderTipHeight() const
std::unique_ptr< interfaces::Handler > m_handler_notify_alert_changed
int64_t getHeaderTipTime() const
Top-level interface for a bitcoin node (bsha3d process).
void showProgress(const QString &title, int nProgress)
QString formatFullVersion() const
bool getProxyInfo(std::string &ip_port) const