wallet2_api: added Wallet::daemonBlockChainTargetHeight()
libwallet_api: Wallet::blockChainTargetHeight Signed-off-by: Jacob Brydolf <jacob@brydolf.net>
This commit is contained in:
@@ -248,6 +248,12 @@ struct Wallet
|
||||
*/
|
||||
virtual uint64_t daemonBlockChainHeight() const = 0;
|
||||
|
||||
/**
|
||||
* @brief daemonBlockChainTargetHeight - returns daemon blockchain target height
|
||||
* @return 0 - in case error communicating with the daemon.
|
||||
* status() will return Status_Error and errorString() will return verbose error description
|
||||
*/
|
||||
virtual uint64_t daemonBlockChainTargetHeight() const = 0;
|
||||
|
||||
static std::string displayAmount(uint64_t amount);
|
||||
static uint64_t amountFromString(const std::string &amount);
|
||||
|
||||
Reference in New Issue
Block a user