aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorOran Juice <oranjuices@hotmail.com>2014-10-18 02:21:37 +0530
committerOran Juice <oranjuices@hotmail.com>2014-10-18 02:21:37 +0530
commit09a659edb5f77ce1879338545f388076881b4e06 (patch)
tree29d2f0baa5c4009fcbb61c60d4b9e9db229ef9ca /src/wallet/wallet2.h
parentremoved unecessary mnemonics test (diff)
downloadmonero-09a659edb5f77ce1879338545f388076881b4e06.tar.xz
Stores seed language in wallet file. added rapidjson. Yet to test backward compatibility
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index afa42c2d3..35e02ce28 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -155,7 +155,11 @@ namespace tools
/*!
* \brief Sets the seed language
*/
- void set_seed_language(const std::string &language);
+ void set_seed_language(const std::string &language);
+ /*!
+ * \brief Tells if the wallet file is deprecated.
+ */
+ bool is_deprecated() const;
void refresh();
void refresh(uint64_t start_height, size_t & blocks_fetched);
void refresh(uint64_t start_height, size_t & blocks_fetched, bool& received_money);
@@ -240,6 +244,7 @@ namespace tools
i_wallet2_callback* m_callback;
bool m_testnet;
std::string seed_language;
+ bool is_old_file_format;
};
}
BOOST_CLASS_VERSION(tools::wallet2, 7)