aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-15 20:51:11 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-15 20:51:11 +0200
commitb6fc7f283f832cfbc8b580bc9094ed20c0b93741 (patch)
treedc15d56d6717e958d09941d03f0f77ff7390bae9 /src/wallet/wallet2_api.h
parentMerge pull request #2266 (diff)
parentWalletAPI: add getDefaultDataDir() (diff)
downloadmonero-b6fc7f283f832cfbc8b580bc9094ed20c0b93741.tar.xz
Merge pull request #2270
1307e3cc WalletAPI: add getDefaultDataDir() (Jaquee)
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r--src/wallet/wallet2_api.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h
index b7483ef8c..8da8c62eb 100644
--- a/src/wallet/wallet2_api.h
+++ b/src/wallet/wallet2_api.h
@@ -596,6 +596,9 @@ struct Wallet
virtual bool verifySignedMessage(const std::string &message, const std::string &addres, const std::string &signature) const = 0;
virtual bool parse_uri(const std::string &uri, std::string &address, std::string &payment_id, uint64_t &amount, std::string &tx_description, std::string &recipient_name, std::vector<std::string> &unknown_parameters, std::string &error) = 0;
+
+ virtual std::string getDefaultDataDir() const = 0;
+
/*
* \brief rescanSpent - Rescan spent outputs - Can only be used with trusted daemon
* \return true on success