Add Native setTrustedDaemon and trustedDaemon functions and integrate them with their wallets

This commit is contained in:
OmarHatem 2022-10-07 15:25:20 +02:00
parent d748f12e44
commit cb9f690745
12 changed files with 83 additions and 5 deletions

View file

@ -927,6 +927,16 @@ extern "C"
return static_cast<int32_t>(rates.size());
}
void set_trusted_daemon(bool arg)
{
m_wallet->setTrustedDaemon(arg);
}
bool trusted_daemon()
{
return m_wallet->trustedDaemon();
}
#ifdef __cplusplus
}
#endif