12 #if defined(HAVE_CONFIG_H)
86 QString formatI2PNativeFullVersion()
const;
87 int getNumI2PConnections()
const;
89 QString getPublicI2PKey()
const;
90 QString getPrivateI2PKey()
const;
91 bool isI2PAddressGenerated()
const;
92 bool isI2POnly()
const;
93 bool isTorOnly()
const;
94 bool isDarknetOnly()
const;
95 bool isBehindDarknet()
const;
96 QString getB32Address(
const QString& destination)
const;
97 void generateI2PDestination(QString& pub, QString& priv)
const;
98 #endif // ENABLE_I2PSAM
124 void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut);
126 void numI2PConnectionsChanged(
int count);
128 void message(
const QString &title,
const QString &
message,
unsigned int style);
141 void updateNumI2PConnections(
int numI2PConnections);
145 #endif // CLIENTMODEL_H
void numBlocksChanged(int count)
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
PeerTableModel * peerTableModel
quint64 getTotalBytesRecv() const
int getNumConnections(unsigned int flags=CONNECTIONS_ALL) const
Return number of connections, default is in- and outbound (total)
OptionsModel * getOptionsModel()
QString formatClientStartupTime() const
PeerTableModel * getPeerTableModel()
QString getStatusBarWarnings() const
Return warnings to be displayed in status bar.
void numConnectionsChanged(int count)
Note signal functions like this are created here in the header file, yet no source implmentation will...
bool isReleaseVersion() const
void alertsChanged(const QString &warnings)
QString getNetworkName() const
Return network (main, testnetX, regtest)
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
bool inInitialBlockDownload() const
Return true if core is doing initial block download.
double getVerificationProgress() const
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call...
QDateTime getLastBlockDate() const
void updateAlert(const QString &hash, int status)
void unsubscribeFromCoreSignals()
QString clientName() const
void subscribeToCoreSignals()
QString formatBuildDate() const
UI model for the transaction table of a wallet.
Model for Anoncoin network client.
Qt model of the address book in the core.
quint64 getTotalBytesSent() const
ClientModel(OptionsModel *optionsModel, QObject *parent=0)
Interface from Qt to configuration data structure for Anoncoin client.
void updateTimer()
From: https://qt-project.org/doc/qt-5-snapshot/signalsandslots.html A slot is a function that is call...
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
OptionsModel * optionsModel
int getNumBlocksAtStartup()
void updateNumConnections(int numConnections)
QString formatFullVersion() const
enum BlockSource getBlockSource() const
Return true if core is importing blocks.