forked from Public/monero-gui
Wallet: import / export output function
This commit is contained in:
@@ -499,6 +499,14 @@ bool Wallet::importKeyImages(const QString& path)
|
|||||||
return m_walletImpl->importKeyImages(path.toStdString());
|
return m_walletImpl->importKeyImages(path.toStdString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Wallet::exportOutputs(const QString& path, bool all) {
|
||||||
|
return m_walletImpl->exportOutputs(path.toStdString(), all);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool Wallet::importOutputs(const QString& path) {
|
||||||
|
return m_walletImpl->importOutputs(path.toStdString());
|
||||||
|
}
|
||||||
|
|
||||||
bool Wallet::refresh(bool historyAndSubaddresses /* = true */)
|
bool Wallet::refresh(bool historyAndSubaddresses /* = true */)
|
||||||
{
|
{
|
||||||
refreshingSet(true);
|
refreshingSet(true);
|
||||||
|
|||||||
@@ -208,6 +208,10 @@ public:
|
|||||||
Q_INVOKABLE bool exportKeyImages(const QString& path);
|
Q_INVOKABLE bool exportKeyImages(const QString& path);
|
||||||
Q_INVOKABLE bool importKeyImages(const QString& path);
|
Q_INVOKABLE bool importKeyImages(const QString& path);
|
||||||
|
|
||||||
|
//! export/import outputs
|
||||||
|
Q_INVOKABLE bool exportOutputs(const QString& path, bool all = false);
|
||||||
|
Q_INVOKABLE bool importOutputs(const QString& path);
|
||||||
|
|
||||||
//! refreshes the wallet
|
//! refreshes the wallet
|
||||||
Q_INVOKABLE bool refresh(bool historyAndSubaddresses = true);
|
Q_INVOKABLE bool refresh(bool historyAndSubaddresses = true);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user