mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-08 15:47:25 -04:00
Add segregation key reuse mitigation options
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user