aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libwalletqt/Wallet.cpp15
-rw-r--r--src/libwalletqt/Wallet.h5
2 files changed, 20 insertions, 0 deletions
diff --git a/src/libwalletqt/Wallet.cpp b/src/libwalletqt/Wallet.cpp
index 1da4e787..74649ce7 100644
--- a/src/libwalletqt/Wallet.cpp
+++ b/src/libwalletqt/Wallet.cpp
@@ -829,6 +829,21 @@ bool Wallet::setRing(const QString &key_image, const QString &ring, bool relativ
return m_walletImpl->setRing(key_image.toStdString(), cring, relative);
}
+void Wallet::segregatePreForkOutputs(bool segregate)
+{
+ m_walletImpl->segregatePreForkOutputs(segregate);
+}
+
+void Wallet::segregationHeight(quint64 height)
+{
+ m_walletImpl->segregationHeight(height);
+}
+
+void Wallet::keyReuseMitigation2(bool mitigation)
+{
+ m_walletImpl->keyReuseMitigation2(mitigation);
+}
+
Wallet::Wallet(Monero::Wallet *w, QObject *parent)
: QObject(parent)
, m_walletImpl(w)
diff --git a/src/libwalletqt/Wallet.h b/src/libwalletqt/Wallet.h
index dbe1d0ce..c4b1dceb 100644
--- a/src/libwalletqt/Wallet.h
+++ b/src/libwalletqt/Wallet.h
@@ -288,6 +288,11 @@ public:
Q_INVOKABLE QString getRings(const QString &txid);
Q_INVOKABLE bool setRing(const QString &key_image, const QString &ring, bool relative);
+ // key reuse mitigation options
+ Q_INVOKABLE void segregatePreForkOutputs(bool segregate);
+ Q_INVOKABLE void segregationHeight(quint64 height);
+ Q_INVOKABLE void keyReuseMitigation2(bool mitigation);
+
// TODO: setListenter() when it implemented in API
signals:
// emitted on every event happened with wallet