Wallet2: calculate approximate blockchain height on offline creation

Wallet API: add approximateBlockChainHeight()
This commit is contained in:
Jacob Brydolf 2016-11-10 15:36:16 +01:00
parent eb6d66e4fc
commit 4fca34ddb4
No known key found for this signature in database
GPG key ID: DE46246550D2F3C5
5 changed files with 43 additions and 2 deletions

View file

@ -469,7 +469,10 @@ uint64_t WalletImpl::blockChainHeight() const
{
return m_wallet->get_blockchain_current_height();
}
uint64_t WalletImpl::approximateBlockChainHeight() const
{
return m_wallet->get_approximate_blockchain_height();
}
uint64_t WalletImpl::daemonBlockChainHeight() const
{
std::string err;