rename ringdb-dir

This commit is contained in:
wowario 2023-02-12 12:15:50 +03:00
parent a177241046
commit c7190cdd0f
No known key found for this signature in database
GPG Key ID: 793504B449C69220
4 changed files with 4 additions and 4 deletions

View File

@ -132,7 +132,7 @@ static std::string get_default_db_path()
boost::filesystem::path dir = tools::get_default_data_dir();
// remove .bitmonero, replace with .shared-ringdb
dir = dir.remove_filename();
dir /= ".shared-ringdb";
dir /= ".wow-shared-ringdb";
return dir.string();
}

View File

@ -71,7 +71,7 @@ namespace {
boost::filesystem::path dir = tools::get_default_data_dir();
// remove .bitmonero, replace with .shared-ringdb
dir = dir.remove_filename();
dir /= ".shared-ringdb";
dir /= ".wow-shared-ringdb";
if (nettype == cryptonote::TESTNET)
dir /= "testnet";
else if (nettype == cryptonote::STAGENET)

View File

@ -258,7 +258,7 @@ struct options {
const command_line::arg_descriptor<bool> testnet = {"testnet", tools::wallet2::tr("For testnet. Daemon must also be launched with --testnet flag"), false};
const command_line::arg_descriptor<bool> stagenet = {"stagenet", tools::wallet2::tr("For stagenet. Daemon must also be launched with --stagenet flag"), false};
const command_line::arg_descriptor<std::string, false, true, 2> shared_ringdb_dir = {
"shared-ringdb-dir", tools::wallet2::tr("Set shared ring database path"),
"wow-shared-ringdb-dir", tools::wallet2::tr("Set shared ring database path"),
get_default_ringdb_path(),
{{ &testnet, &stagenet }},
[](std::array<bool, 2> testnet_stagenet, bool defaulted, std::string val)->std::string {

View File

@ -1279,7 +1279,7 @@ private:
}
BEGIN_SERIALIZE_OBJECT()
MAGIC_FIELD("monero wallet cache")
MAGIC_FIELD("wownero wallet cache")
VERSION_FIELD(1)
FIELD(m_blockchain)
FIELD(m_transfers)