aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-12-13 13:52:27 +0200
committerRiccardo Spagni <ric@spagni.net>2014-12-13 13:52:30 +0200
commitf4675dc05d0c716e120d3e5e3bca5ed23f245552 (patch)
tree19eb7a0b7b736337f0c5de8a1f0d2527a8921189 /src/wallet/wallet2.h
parentMerge pull request #202 (diff)
parentDocument existing function (diff)
downloadmonero-f4675dc05d0c716e120d3e5e3bca5ed23f245552.tar.xz
Merge pull request #203
583cf0a Document existing function (warptangent) 95eb944 Repeat prompt for wallet path if invalid (warptangent)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 5486efb0e..d9b1217c7 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -229,7 +229,19 @@ namespace tools
a & m_payments;
}
+ /*!
+ * \brief Check if wallet keys and bin files exist
+ * \param file_path Wallet file path
+ * \param keys_file_exists Whether keys file exists
+ * \param wallet_file_exists Whether bin file exists
+ */
static void wallet_exists(const std::string& file_path, bool& keys_file_exists, bool& wallet_file_exists);
+ /*!
+ * \brief Check if wallet file path is valid format
+ * \param file_path Wallet file path
+ * \return Whether path is valid format
+ */
+ static bool wallet_valid_path_format(const std::string& file_path);
static bool parse_payment_id(const std::string& payment_id_str, crypto::hash& payment_id);