tests: make libwallet_api_tests work under ctest, add tests

This commit is contained in:
selsta
2026-07-17 20:55:23 +02:00
parent 95e126f3c5
commit 85f8bbbccb
19 changed files with 574 additions and 322 deletions
+10
View File
@@ -975,6 +975,16 @@ bool WalletImpl::init(const std::string &daemon_address, uint64_t upper_transact
return doInit(daemon_address, proxy_address, upper_transaction_size_limit, use_ssl);
}
void WalletImpl::allowMismatchedDaemonVersion(bool allow_mismatch)
{
m_wallet->allow_mismatched_daemon_version(allow_mismatch);
}
void WalletImpl::setRingDatabase(const std::string &path)
{
m_wallet->set_ring_database(path);
}
void WalletImpl::setRefreshFromBlockHeight(uint64_t refresh_from_block_height)
{
if (checkBackgroundSync("cannot change refresh height"))