diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-11-17 16:37:30 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-11-17 16:37:30 +0200 |
commit | 5df6f0be806587abee8e1cc956697302747124c8 (patch) | |
tree | cdb770190efdc81a316962918a6276cf036f3e30 /src/wallet/wallet2.h | |
parent | Merge pull request #1344 (diff) | |
parent | Wallet2: calculate approximate blockchain height on offline creation (diff) | |
download | monero-5df6f0be806587abee8e1cc956697302747124c8.tar.xz |
Merge pull request #1318
4fca34d Wallet2: calculate approximate blockchain height on offline creation (Jacob Brydolf)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index d0075e2ec..6168873d5 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -511,7 +511,10 @@ namespace tools std::string get_daemon_address() const; uint64_t get_daemon_blockchain_height(std::string& err); uint64_t get_daemon_blockchain_target_height(std::string& err); - + /*! + * \brief Calculates the approximate blockchain height from current date/time. + */ + uint64_t get_approximate_blockchain_height() const; std::vector<size_t> select_available_outputs_from_histogram(uint64_t count, bool atleast, bool unlocked, 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); |