changes to some URLs to .io domain
This commit is contained in:
@@ -102,7 +102,7 @@ namespace tools
|
|||||||
|
|
||||||
std::string get_update_url(const std::string &software, const std::string &subdir, const std::string &buildtag, const std::string &version, bool user)
|
std::string get_update_url(const std::string &software, const std::string &subdir, const std::string &buildtag, const std::string &version, bool user)
|
||||||
{
|
{
|
||||||
const char *base = user ? "https://downloads.salvium.network/" : "https://updates.salvium.network/";
|
const char *base = user ? "https://downloads.salvium.io/" : "https://updates.salvium.io/";
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static const char *extension = strncmp(buildtag.c_str(), "source", 6) ? (strncmp(buildtag.c_str(), "install-", 8) ? ".zip" : ".exe") : ".tar.bz2";
|
static const char *extension = strncmp(buildtag.c_str(), "source", 6) ? (strncmp(buildtag.c_str(), "install-", 8) ? ".zip" : ".exe") : ".tar.bz2";
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
|
|||||||
@@ -298,7 +298,7 @@ namespace config
|
|||||||
// Multisig
|
// Multisig
|
||||||
const uint32_t MULTISIG_MAX_SIGNERS{16};
|
const uint32_t MULTISIG_MAX_SIGNERS{16};
|
||||||
|
|
||||||
std::array<std::string, 3> const ORACLE_URLS = {{"oracle.salvium.network:8443", "oracle.salvium.network:8443", "oracle.salvium.network:8443"}};
|
std::array<std::string, 3> const ORACLE_URLS = {{"oracle.salvium.io:8443", "oracle.salvium.io:8443", "oracle.salvium.io:8443"}};
|
||||||
|
|
||||||
std::string const ORACLE_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\n"
|
std::string const ORACLE_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\n"
|
||||||
"MIIDRDCCAjYGByqGSM44BAEwggIpAoIBAQCZP7IJ5PcNvGbWiEqAioKF9wViVxEN\n"
|
"MIIDRDCCAjYGByqGSM44BAEwggIpAoIBAQCZP7IJ5PcNvGbWiEqAioKF9wViVxEN\n"
|
||||||
@@ -342,7 +342,7 @@ namespace config
|
|||||||
|
|
||||||
const uint64_t STAKE_LOCK_PERIOD = 20;
|
const uint64_t STAKE_LOCK_PERIOD = 20;
|
||||||
|
|
||||||
std::array<std::string, 3> const ORACLE_URLS = {{"oracle.salvium.network:8443", "oracle.salvium.network:8443", "oracle.salvium.network:8443"}};
|
std::array<std::string, 3> const ORACLE_URLS = {{"oracle.salvium.io:8443", "oracle.salvium.io:8443", "oracle.salvium.io:8443"}};
|
||||||
|
|
||||||
std::string const ORACLE_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\n"
|
std::string const ORACLE_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\n"
|
||||||
"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5YBxWx1AZCA9jTUk8Pr2uZ9jpfRt\n"
|
"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5YBxWx1AZCA9jTUk8Pr2uZ9jpfRt\n"
|
||||||
@@ -368,7 +368,7 @@ namespace config
|
|||||||
|
|
||||||
const uint64_t STAKE_LOCK_PERIOD = 20;
|
const uint64_t STAKE_LOCK_PERIOD = 20;
|
||||||
|
|
||||||
std::array<std::string, 3> const ORACLE_URLS = {{"oracle.salvium.network:8443", "oracle.salvium.network:8443", "oracle.salvium.network:8443"}};
|
std::array<std::string, 3> const ORACLE_URLS = {{"oracle.salvium.io:8443", "oracle.salvium.io:8443", "oracle.salvium.io:8443"}};
|
||||||
|
|
||||||
std::string const ORACLE_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\n"
|
std::string const ORACLE_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\n"
|
||||||
"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5YBxWx1AZCA9jTUk8Pr2uZ9jpfRt\n"
|
"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5YBxWx1AZCA9jTUk8Pr2uZ9jpfRt\n"
|
||||||
|
|||||||
@@ -2349,7 +2349,7 @@ bool simple_wallet::welcome(const std::vector<std::string> &args)
|
|||||||
message_writer() << tr("Flaws in Salvium may be discovered in the future, and attacks may be developed to peek under some");
|
message_writer() << tr("Flaws in Salvium may be discovered in the future, and attacks may be developed to peek under some");
|
||||||
message_writer() << tr("of the layers of privacy Salvium provides. Be safe and practice defense in depth.");
|
message_writer() << tr("of the layers of privacy Salvium provides. Be safe and practice defense in depth.");
|
||||||
message_writer() << "";
|
message_writer() << "";
|
||||||
message_writer() << tr("Welcome to Salvium and compliant financial privacy. For more information see https://salvium.network");
|
message_writer() << tr("Welcome to Salvium and compliant financial privacy. For more information see https://salvium.io");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3427,7 +3427,7 @@ simple_wallet::simple_wallet()
|
|||||||
m_cmd_binder.set_handler("donate",
|
m_cmd_binder.set_handler("donate",
|
||||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::donate, _1),
|
boost::bind(&simple_wallet::on_command, this, &simple_wallet::donate, _1),
|
||||||
tr(USAGE_DONATE),
|
tr(USAGE_DONATE),
|
||||||
tr("Donate <amount> to the development team (donate.salvium.network)."));
|
tr("Donate <amount> to the development team (donate.salvium.io)."));
|
||||||
m_cmd_binder.set_handler("sign_transfer",
|
m_cmd_binder.set_handler("sign_transfer",
|
||||||
boost::bind(&simple_wallet::on_command, this, &simple_wallet::sign_transfer, _1),
|
boost::bind(&simple_wallet::on_command, this, &simple_wallet::sign_transfer, _1),
|
||||||
tr(USAGE_SIGN_TRANSFER),
|
tr(USAGE_SIGN_TRANSFER),
|
||||||
@@ -8524,7 +8524,7 @@ bool simple_wallet::donate(const std::vector<std::string> &args_)
|
|||||||
if (!payment_id_str.empty())
|
if (!payment_id_str.empty())
|
||||||
local_args.push_back(payment_id_str);
|
local_args.push_back(payment_id_str);
|
||||||
if (m_wallet->nettype() == cryptonote::MAINNET)
|
if (m_wallet->nettype() == cryptonote::MAINNET)
|
||||||
message_writer() << (boost::format(tr("Donating %s %s to The Salvium Team (donate.salvium.network or %s).")) % amount_str % cryptonote::get_unit(cryptonote::get_default_decimal_point()) % SALVIUM_DONATION_ADDR).str();
|
message_writer() << (boost::format(tr("Donating %s %s to The Salvium Team (donate.salvium.io or %s).")) % amount_str % cryptonote::get_unit(cryptonote::get_default_decimal_point()) % SALVIUM_DONATION_ADDR).str();
|
||||||
else
|
else
|
||||||
message_writer() << (boost::format(tr("Donating %s %s to %s.")) % amount_str % cryptonote::get_unit(cryptonote::get_default_decimal_point()) % address_str).str();
|
message_writer() << (boost::format(tr("Donating %s %s to %s.")) % amount_str % cryptonote::get_unit(cryptonote::get_default_decimal_point()) % address_str).str();
|
||||||
transfer(local_args);
|
transfer(local_args);
|
||||||
|
|||||||
Reference in New Issue
Block a user