forked from Public/monero-gui
export/import key images
This commit is contained in:
@@ -336,6 +336,16 @@ quint64 Wallet::daemonBlockChainTargetHeight() const
|
||||
return m_daemonBlockChainTargetHeight;
|
||||
}
|
||||
|
||||
bool Wallet::exportKeyImages(const QString& path)
|
||||
{
|
||||
return m_walletImpl->exportKeyImages(path.toStdString());
|
||||
}
|
||||
|
||||
bool Wallet::importKeyImages(const QString& path)
|
||||
{
|
||||
return m_walletImpl->importKeyImages(path.toStdString());
|
||||
}
|
||||
|
||||
bool Wallet::refresh()
|
||||
{
|
||||
bool result = m_walletImpl->refresh();
|
||||
|
||||
@@ -159,6 +159,10 @@ public:
|
||||
//! returns daemon's blockchain target height
|
||||
Q_INVOKABLE quint64 daemonBlockChainTargetHeight() const;
|
||||
|
||||
//! export/import key images
|
||||
Q_INVOKABLE bool exportKeyImages(const QString& path);
|
||||
Q_INVOKABLE bool importKeyImages(const QString& path);
|
||||
|
||||
//! refreshes the wallet
|
||||
Q_INVOKABLE bool refresh();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user