mirror of
https://github.com/monero-project/monero.git
synced 2025-11-29 21:26:32 -05:00
Wallet2: calculate approximate blockchain height on offline creation
Wallet API: add approximateBlockChainHeight()
This commit is contained in:
parent
eb6d66e4fc
commit
4fca34ddb4
5 changed files with 43 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue