LCOV - code coverage report
Current view: top level - src/qt - transactiondesc.h (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 0 2 0.0 %
Date: 2020-09-26 01:30:44 Functions: 0 4 0.0 %

          Line data    Source code
       1             : // Copyright (c) 2011-2018 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             : namespace interfaces {
      14             : class Node;
      15             : class Wallet;
      16             : struct WalletTx;
      17             : struct WalletTxStatus;
      18             : }
      19             : 
      20             : /** Provide a human-readable extended HTML description of a transaction.
      21             :  */
      22           0 : class TransactionDesc: public QObject
      23             : {
      24           0 :     Q_OBJECT
      25             : 
      26             : public:
      27             :     static QString toHTML(interfaces::Node& node, interfaces::Wallet& wallet, TransactionRecord *rec, int unit);
      28             : 
      29             : private:
      30             :     TransactionDesc() {}
      31             : 
      32             :     static QString FormatTxStatus(const interfaces::WalletTx& wtx, const interfaces::WalletTxStatus& status, bool inMempool, int numBlocks);
      33             : };
      34             : 
      35             : #endif // BITCOIN_QT_TRANSACTIONDESC_H

Generated by: LCOV version 1.15