aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorkenshi84 <kenshi84@protonmail.ch>2016-12-25 17:18:15 +0900
committerkenshi84 <kenshi84@protonmail.ch>2017-01-16 10:00:28 +0900
commit16b8b66adcad57983b099fdf3ac1b52519390bc6 (patch)
tree5da228ea1d398d68e9ba0fc3172b748356ed07ec /src/wallet/wallet2.h
parentMerge pull request #1578 (diff)
downloadmonero-16b8b66adcad57983b099fdf3ac1b52519390bc6.tar.xz
specify restore height by YYYY-MM-DD format
Diffstat (limited to '')
-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 5a569950f..21692d7b4 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -554,6 +554,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.