Fixes #759 Add sanity check on restore height

This commit is contained in:
Cifrado
2017-11-17 00:00:06 +01:00
parent dc6a8014bd
commit b0426d4cf2
3 changed files with 44 additions and 20 deletions
+1
View File
@@ -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);