mirror of
https://github.com/monero-project/monero.git
synced 2026-02-02 09:45:07 +01:00
wallet_api: expose offline mode status
This commit is contained in:
@@ -2392,6 +2392,11 @@ void WalletImpl::setOffline(bool offline)
|
||||
m_wallet->set_offline(offline);
|
||||
}
|
||||
|
||||
bool WalletImpl::isOffline() const
|
||||
{
|
||||
return m_wallet->is_offline();
|
||||
}
|
||||
|
||||
void WalletImpl::hardForkInfo(uint8_t &version, uint64_t &earliest_height) const
|
||||
{
|
||||
m_wallet->get_hard_fork_info(version, earliest_height);
|
||||
|
||||
Reference in New Issue
Block a user