Merge pull request #2175

ab47b4a Expose get/set attrs for wallet cache in libwalletqt, requires #5534 (xmrdsc)
This commit is contained in:
luigi1111
2019-08-27 14:52:17 -05:00
2 changed files with 13 additions and 0 deletions

View File

@@ -289,6 +289,10 @@ public:
void setPaymentId(const QString &paymentId);
//! Namespace your cacheAttribute keys to avoid collisions
Q_INVOKABLE bool setCacheAttribute(const QString &key, const QString &val);
Q_INVOKABLE QString getCacheAttribute(const QString &key) const;
Q_INVOKABLE bool setUserNote(const QString &txid, const QString &note);
Q_INVOKABLE QString getUserNote(const QString &txid) const;
Q_INVOKABLE QString getTxKey(const QString &txid) const;