From b0426d4cf28ca4780157cac433a61ccba84fa4c0 Mon Sep 17 00:00:00 2001 From: Cifrado Date: Fri, 17 Nov 2017 00:00:06 +0100 Subject: Fixes #759 Add sanity check on restore height --- src/wallet/wallet2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/wallet2.h') 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 select_available_outputs_from_histogram(uint64_t count, bool atleast, bool unlocked, bool allow_rct, bool trusted_daemon); std::vector select_available_outputs(const std::function &f); std::vector select_available_unmixable_outputs(bool trusted_daemon); -- cgit v1.2.3