wallet: deprecate wallet2::find_and_save_rings()

Rings for outgoing transactions are stored within the scanning code since the last hardfork,
so this code is largely unneccessary now.

Co-authored-by: j-berman <justinberman@protonmail.com>
This commit is contained in:
jeffro256 2025-07-29 11:58:05 -05:00
parent ec870e5070
commit 8f98dac4f0
No known key found for this signature in database
GPG key ID: 6F79797A6E392442
4 changed files with 6 additions and 80 deletions

View file

@ -2231,15 +2231,7 @@ bool simple_wallet::blackballed(const std::vector<std::string> &args)
bool simple_wallet::save_known_rings(const std::vector<std::string> &args)
{
try
{
LOCK_IDLE_SCOPE();
m_wallet->find_and_save_rings();
}
catch (const std::exception &e)
{
fail_msg_writer() << tr("Failed to save known rings: ") << e.what();
}
fail_msg_writer() << tr("save_known_rings is deprecated");
return true;
}