diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-07 00:01:53 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-26 20:57:33 +0100 |
| commit | 65ea07af612751ab0989a8e01d76bad7bc3c2869 (patch) | |
| tree | c3374ebcb154ebbab1e484aa65c4257fde760b3b /src/libwalletqt/Wallet.h | |
| parent | fdaf557b994cd206782a1e039c6455c8dcc850ab (diff) | |
| download | monzero-gui-65ea07af612751ab0989a8e01d76bad7bc3c2869.tar.gz monzero-gui-65ea07af612751ab0989a8e01d76bad7bc3c2869.tar.xz monzero-gui-65ea07af612751ab0989a8e01d76bad7bc3c2869.zip | |
Add a shared ringdb management page - rings and blackballed outputs
Diffstat (limited to 'src/libwalletqt/Wallet.h')
| -rw-r--r-- | src/libwalletqt/Wallet.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h index 82e11ec3..dbe1d0ce 100644 --- a/src/libwalletqt/Wallet.h +++ b/src/libwalletqt/Wallet.h @@ -4,6 +4,7 @@ #include <QObject> #include <QTime> #include <QMutex> +#include <QList> #include <QtConcurrent/QtConcurrent> #include "wallet/api/wallet2_api.h" // we need to have an access to the Monero::Wallet::Status enum here; @@ -276,6 +277,17 @@ public: QString getDaemonLogPath() const; QString getWalletLogPath() const; + // Blackalled outputs + Q_INVOKABLE bool blackballOutput(const QString &pubkey); + Q_INVOKABLE bool blackballOutputs(const QList<QString> &pubkeys, bool add); + Q_INVOKABLE bool blackballOutputs(const QString &filename, bool add); + Q_INVOKABLE bool unblackballOutput(const QString &pubkey); + + // Rings + Q_INVOKABLE QString getRing(const QString &key_image); + Q_INVOKABLE QString getRings(const QString &txid); + Q_INVOKABLE bool setRing(const QString &key_image, const QString &ring, bool relative); + // TODO: setListenter() when it implemented in API signals: // emitted on every event happened with wallet |
