History: Show num of confirmations + unconfirmed payments

history: refresh on new block
This commit is contained in:
Jaquee
2017-01-12 19:57:30 +01:00
parent 593839a374
commit 205bfcdd7b
8 changed files with 43 additions and 3 deletions

View File

@@ -18,6 +18,7 @@ class TransactionInfo : public QObject
Q_PROPERTY(QString displayAmount READ displayAmount)
Q_PROPERTY(QString fee READ fee)
Q_PROPERTY(quint64 blockHeight READ blockHeight)
Q_PROPERTY(quint64 confirmations READ confirmations)
Q_PROPERTY(QString hash READ hash)
Q_PROPERTY(QDateTime timestamp READ timestamp)
Q_PROPERTY(QString date READ date)
@@ -42,6 +43,7 @@ public:
QString displayAmount() const;
QString fee() const;
quint64 blockHeight() const;
quint64 confirmations() const;
//! transaction_id
QString hash() const;
QDateTime timestamp() const;