mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-26 18:13:26 +01:00
- extend PaymentServer with setOptionsModel() and rework initNetManager() to make use of that - fix all other places in the code to use display unit from options and no hard-coded unit
25 lines
459 B
C++
25 lines
459 B
C++
#ifndef TRANSACTIONDESC_H
|
|
#define TRANSACTIONDESC_H
|
|
|
|
#include <QString>
|
|
#include <QObject>
|
|
|
|
class CWallet;
|
|
class CWalletTx;
|
|
|
|
/** Provide a human-readable extended HTML description of a transaction.
|
|
*/
|
|
class TransactionDesc: public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
static QString toHTML(CWallet *wallet, CWalletTx &wtx, int unit);
|
|
|
|
private:
|
|
TransactionDesc() {}
|
|
|
|
static QString FormatTxStatus(const CWalletTx& wtx);
|
|
};
|
|
|
|
#endif // TRANSACTIONDESC_H
|