Wallet2: calculate approximate blockchain height on offline creation
Wallet API: add approximateBlockChainHeight()
This commit is contained in:
@@ -281,6 +281,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.
|
||||
|
||||
Reference in New Issue
Block a user