Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

transactiondesc.h
Go to the documentation of this file.
1 // Copyright (c) 2011-2014 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_QT_TRANSACTIONDESC_H
6 #define BITCOIN_QT_TRANSACTIONDESC_H
7 
8 #include <QObject>
9 #include <QString>
10 
11 class TransactionRecord;
12 
13 class CWallet;
14 class CWalletTx;
15 
18 class TransactionDesc: public QObject
19 {
20  Q_OBJECT
21 
22 public:
23  static QString toHTML(CWallet *wallet, CWalletTx &wtx, TransactionRecord *rec, int unit);
24 
25 private:
27 
28  static QString FormatTxStatus(const CWalletTx& wtx);
29 };
30 
31 #endif // BITCOIN_QT_TRANSACTIONDESC_H
Provide a human-readable extended HTML description of a transaction.
UI model for a transaction.
A transaction with a bunch of additional info that only the owner cares about.
Definition: wallet.h:280
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
Definition: wallet.h:715
static QString FormatTxStatus(const CWalletTx &wtx)
static QString toHTML(CWallet *wallet, CWalletTx &wtx, TransactionRecord *rec, int unit)
Released under the MIT license