aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-15 20:32:57 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-15 20:32:57 -0500
commitab69d5b3670cc21a10aab9ad16919afdcc80fdba (patch)
treef0c009b9b943a570ee505f2881be2243c68e16cd /src/wallet/wallet2.h
parentMerge pull request #1522 (diff)
parentspecify restore height by YYYY-MM-DD format (diff)
downloadmonero-ab69d5b3670cc21a10aab9ad16919afdcc80fdba.tar.xz
Merge pull request #1569
16b8b66a specify restore height by YYYY-MM-DD format (kenshi84)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index b5542440b..b5cc56e56 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -558,6 +558,8 @@ namespace tools
std::string make_uri(const std::string &address, const std::string &payment_id, uint64_t amount, const std::string &tx_description, const std::string &recipient_name, std::string &error);
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);
+ uint64_t get_blockchain_height_by_date(uint16_t year, uint8_t month, uint8_t day); // 1<=month<=12, 1<=day<=31
+
private:
/*!
* \brief Stores wallet information to wallet file.