new function:

- MONERO_Wallet_setRefreshFromBlockHeight
This commit is contained in:
Czarek Nakamoto
2023-12-30 00:45:47 +01:00
parent c608ba2960
commit 7bd5002cc9
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -195,6 +195,11 @@ bool MONERO_Wallet_init(void* wallet_ptr, const char* daemon_address, uint64_t u
return wallet->init(std::string(daemon_address), upper_transaction_size_limit, std::string(daemon_username), std::string(daemon_password), use_ssl, lightWallet, std::string(proxy_address));
}
void MONERO_Wallet_setRefreshFromBlockHeight(void* wallet_ptr, uint64_t refresh_from_block_height) {
Monero::Wallet *wallet = reinterpret_cast<Monero::Wallet*>(wallet_ptr);
return wallet->setRefreshFromBlockHeight(refresh_from_block_height);
}
uint64_t MONERO_Wallet_getRefreshFromBlockHeight(void* wallet_ptr) {
Monero::Wallet *wallet = reinterpret_cast<Monero::Wallet*>(wallet_ptr);
return wallet->getRefreshFromBlockHeight();