diff options
author | Cifrado <hello@cifrado.me> | 2017-11-17 00:00:06 +0100 |
---|---|---|
committer | Cifrado <hello@cifrado.me> | 2017-11-17 08:35:59 +0100 |
commit | b0426d4cf28ca4780157cac433a61ccba84fa4c0 (patch) | |
tree | 8d5e2d6549f59fa05d3e8445647b67e582430661 /src/wallet/wallet2.h | |
parent | Merge pull request #2818 (diff) | |
download | monero-b0426d4cf28ca4780157cac433a61ccba84fa4c0.tar.xz |
Fixes #759 Add sanity check on restore height
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 6e01d4e28..19d34eaf8 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -709,6 +709,7 @@ namespace tools * \brief Calculates the approximate blockchain height from current date/time. */ uint64_t get_approximate_blockchain_height() const; + uint64_t estimate_blockchain_height(); std::vector<size_t> select_available_outputs_from_histogram(uint64_t count, bool atleast, bool unlocked, bool allow_rct, bool trusted_daemon); std::vector<size_t> select_available_outputs(const std::function<bool(const transfer_details &td)> &f); std::vector<size_t> select_available_unmixable_outputs(bool trusted_daemon); |