 |
Bitcoin Core
21.99.0
P2P Digital Currency
|
Go to the documentation of this file.
5 #ifndef BITCOIN_QT_CLIENTMODEL_H
6 #define BITCOIN_QT_CLIENTMODEL_H
113 void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut);
116 void message(
const QString &title,
const QString &
message,
unsigned int style);
128 #endif // BITCOIN_QT_CLIENTMODEL_H
void alertsChanged(const QString &warnings)
void numBlocksChanged(int count, const QDateTime &blockDate, double nVerificationProgress, bool header, SynchronizationState sync_state)
void subscribeToCoreSignals()
std::unique_ptr< interfaces::Handler > m_handler_notify_alert_changed
void numConnectionsChanged(int count)
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
int getNumConnections(unsigned int flags=CONNECTIONS_ALL) const
Return number of connections, default is in- and outbound (total)
bool isReleaseVersion() const
interfaces::Node & node() const
enum BlockSource getBlockSource() const
Returns enum BlockSource of the current importing/syncing state.
QString blocksDir() const
std::unique_ptr< interfaces::Handler > m_handler_notify_num_connections_changed
QString getStatusBarWarnings() const
Return warnings to be displayed in status bar.
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call.
BanTableModel * banTableModel
void updateNetworkActive(bool networkActive)
std::unique_ptr< interfaces::Handler > m_handler_notify_block_tip
Interface from Qt to configuration data structure for Bitcoin client.
OptionsModel * getOptionsModel()
void unsubscribeFromCoreSignals()
std::unique_ptr< interfaces::Handler > m_handler_notify_network_active_changed
PeerTableModel * getPeerTableModel()
uint256 m_cached_tip_blocks GUARDED_BY(m_cached_tip_mutex)
int getHeaderTipHeight() const
bool getProxyInfo(std::string &ip_port) const
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
ClientModel(interfaces::Node &node, OptionsModel *optionsModel, QObject *parent=nullptr)
QString formatFullVersion() const
std::atomic< int64_t > cachedBestHeaderTime
PeerTableModel * peerTableModel
OptionsModel * optionsModel
interfaces::Node & m_node
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call.
void updateNumConnections(int numConnections)
void showProgress(const QString &title, int nProgress)
Top-level interface for a bitcoin node (bitcoind process).
Model for Bitcoin network client.
QString formatSubVersion() const
std::unique_ptr< interfaces::Handler > m_handler_show_progress
std::unique_ptr< interfaces::Handler > m_handler_notify_header_tip
std::atomic< int > cachedBestHeaderHeight
QString formatClientStartupTime() const
std::atomic< int > m_cached_num_blocks
SynchronizationState
Current sync state passed to tip changed callbacks.
The block chain is a tree shaped structure starting with the genesis block at the root,...
QThread *const m_thread
A thread to interact with m_node asynchronously.
uint256 getBestBlockHash()
std::unique_ptr< interfaces::Handler > m_handler_banned_list_changed
void networkActiveChanged(bool networkActive)
int64_t getHeaderTipTime() const
BanTableModel * getBanTableModel()