mirror of
https://github.com/monero-project/monero.git
synced 2026-01-13 13:27:34 -08:00
Merge pull request #5534
4c66614 expose set/get walletcache attribute functionality in wallet api (selsta)
This commit is contained in:
@@ -1697,6 +1697,17 @@ void WalletImpl::setDefaultMixin(uint32_t arg)
|
||||
m_wallet->default_mixin(arg);
|
||||
}
|
||||
|
||||
bool WalletImpl::setCacheAttribute(const std::string &key, const std::string &val)
|
||||
{
|
||||
m_wallet->set_attribute(key, val);
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string WalletImpl::getCacheAttribute(const std::string &key) const
|
||||
{
|
||||
return m_wallet->get_attribute(key);
|
||||
}
|
||||
|
||||
bool WalletImpl::setUserNote(const std::string &txid, const std::string ¬e)
|
||||
{
|
||||
cryptonote::blobdata txid_data;
|
||||
|
||||
Reference in New Issue
Block a user