Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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
12
13namespace interfaces {
14class Node;
15class Wallet;
16struct WalletTx;
17struct WalletTxStatus;
18} // namespace interfaces
19
23class TransactionDesc : public QObject {
25
26public:
28 TransactionRecord *rec, int unit);
29
30private:
32
34 const interfaces::WalletTxStatus &status,
35 bool inMempool, int numBlocks);
36};
37
38#endif // BITCOIN_QT_TRANSACTIONDESC_H
Provide a human-readable extended HTML description of a transaction.
static QString toHTML(interfaces::Node &node, interfaces::Wallet &wallet, TransactionRecord *rec, int unit)
static QString FormatTxStatus(const interfaces::WalletTx &wtx, const interfaces::WalletTxStatus &status, bool inMempool, int numBlocks)
UI model for a transaction.
Top-level interface for a bitcoin node (bitcoind process).
Definition node.h:59
Interface for accessing a wallet.
Definition wallet.h:59
Definition init.h:28
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
Updated transaction status.
Definition wallet.h:383