rename ringdb-dir

pull/461/head
wowario 1 year ago
parent 6aaee726f1
commit dfa32f3330
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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();
}

@ -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)

@ -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 {

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

Loading…
Cancel
Save