update URLs
This commit is contained in:
parent
01a22b48b6
commit
c54f5de51f
|
@ -45,10 +45,7 @@ namespace tools
|
||||||
|
|
||||||
// All four MoneroPulse domains have DNSSEC on and valid
|
// All four MoneroPulse domains have DNSSEC on and valid
|
||||||
static const std::vector<std::string> dns_urls = {
|
static const std::vector<std::string> dns_urls = {
|
||||||
"updates.moneropulse.org",
|
"updates.danico.in"
|
||||||
"updates.moneropulse.net",
|
|
||||||
"updates.moneropulse.co",
|
|
||||||
"updates.moneropulse.se"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!tools::dns_utils::load_txt_records_from_dns(records, dns_urls))
|
if (!tools::dns_utils::load_txt_records_from_dns(records, dns_urls))
|
||||||
|
|
|
@ -211,16 +211,11 @@ namespace cryptonote
|
||||||
std::vector<std::string> records;
|
std::vector<std::string> records;
|
||||||
|
|
||||||
// All four MoneroPulse domains have DNSSEC on and valid
|
// All four MoneroPulse domains have DNSSEC on and valid
|
||||||
static const std::vector<std::string> dns_urls = { "checkpoints.moneropulse.se"
|
static const std::vector<std::string> dns_urls = { "node1.danico.in"
|
||||||
, "checkpoints.moneropulse.org"
|
, "node2.danico.in"
|
||||||
, "checkpoints.moneropulse.net"
|
|
||||||
, "checkpoints.moneropulse.co"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const std::vector<std::string> testnet_dns_urls = { "testpoints.moneropulse.se"
|
static const std::vector<std::string> testnet_dns_urls = {
|
||||||
, "testpoints.moneropulse.org"
|
|
||||||
, "testpoints.moneropulse.net"
|
|
||||||
, "testpoints.moneropulse.co"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!tools::dns_utils::load_txt_records_from_dns(records, testnet ? testnet_dns_urls : dns_urls))
|
if (!tools::dns_utils::load_txt_records_from_dns(records, testnet ? testnet_dns_urls : dns_urls))
|
||||||
|
|
|
@ -1015,11 +1015,14 @@ bool Blockchain::validate_miner_transaction(const block& b, size_t cumulative_bl
|
||||||
MERROR_VER("block size " << cumulative_block_size << " is bigger than allowed for this blockchain");
|
MERROR_VER("block size " << cumulative_block_size << " is bigger than allowed for this blockchain");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(base_reward + fee < money_in_use)
|
if(base_reward + fee < money_in_use)
|
||||||
{
|
{
|
||||||
MERROR_VER("coinbase transaction spend too much money (" << print_money(money_in_use) << "). Block reward is " << print_money(base_reward + fee) << "(" << print_money(base_reward) << "+" << print_money(fee) << ")");
|
MERROR_VER("coinbase transaction spend too much money (" << print_money(money_in_use) << "). Block reward is " << print_money(base_reward + fee) << "(" << print_money(base_reward) << "+" << print_money(fee) << ")");
|
||||||
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// From hard fork 2, we allow a miner to claim less block reward than is allowed, in case a miner wants less dust
|
// From hard fork 2, we allow a miner to claim less block reward than is allowed, in case a miner wants less dust
|
||||||
if (m_hardfork->get_current_version() < 2)
|
if (m_hardfork->get_current_version() < 2)
|
||||||
{
|
{
|
||||||
|
|
|
@ -131,10 +131,8 @@ namespace nodetool
|
||||||
virtual std::map<std::string, time_t> get_blocked_hosts() { CRITICAL_REGION_LOCAL(m_blocked_hosts_lock); return m_blocked_hosts; }
|
virtual std::map<std::string, time_t> get_blocked_hosts() { CRITICAL_REGION_LOCAL(m_blocked_hosts_lock); return m_blocked_hosts; }
|
||||||
private:
|
private:
|
||||||
const std::vector<std::string> m_seed_nodes_list =
|
const std::vector<std::string> m_seed_nodes_list =
|
||||||
{ "seeds.moneroseeds.se"
|
{ "node1.danico.in"
|
||||||
, "seeds.moneroseeds.ae.org"
|
, "node2.danico.in"
|
||||||
, "seeds.moneroseeds.ch"
|
|
||||||
, "seeds.moneroseeds.li"
|
|
||||||
};
|
};
|
||||||
|
|
||||||
bool islimitup=false;
|
bool islimitup=false;
|
||||||
|
|
|
@ -409,22 +409,11 @@ namespace nodetool
|
||||||
std::set<std::string> full_addrs;
|
std::set<std::string> full_addrs;
|
||||||
if (testnet)
|
if (testnet)
|
||||||
{
|
{
|
||||||
full_addrs.insert("212.83.175.67:28080");
|
|
||||||
full_addrs.insert("5.9.100.248:28080");
|
|
||||||
full_addrs.insert("163.172.182.165:28080");
|
|
||||||
full_addrs.insert("195.154.123.123:28080");
|
|
||||||
full_addrs.insert("212.83.172.165:28080");
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
full_addrs.insert("107.152.130.98:18080");
|
full_addrs.insert("173.212.249.24:14086");
|
||||||
full_addrs.insert("212.83.175.67:18080");
|
full_addrs.insert("173.212.243.115:14086");
|
||||||
full_addrs.insert("5.9.100.248:18080");
|
|
||||||
full_addrs.insert("163.172.182.165:18080");
|
|
||||||
full_addrs.insert("161.67.132.39:18080");
|
|
||||||
full_addrs.insert("198.74.231.92:18080");
|
|
||||||
full_addrs.insert("195.154.123.123:28080");
|
|
||||||
full_addrs.insert("212.83.172.165:28080");
|
|
||||||
}
|
}
|
||||||
return full_addrs;
|
return full_addrs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue