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_api.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_api.h')
-rw-r--r-- | src/wallet/wallet2_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index 6fe15d1e3..e624ffa69 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -282,6 +282,12 @@ struct Wallet virtual uint64_t blockChainHeight() const = 0; /** + * @brief approximateBlockChainHeight - returns approximate blockchain height calculated from date/time + * @return + */ + virtual uint64_t approximateBlockChainHeight() const = 0; + + /** * @brief daemonBlockChainHeight - returns daemon blockchain height * @return 0 - in case error communicating with the daemon. * status() will return Status_Error and errorString() will return verbose error description |