reset testnet
This commit is contained in:
parent
74a30ddccd
commit
44095676ff
|
@ -163,6 +163,9 @@ namespace cryptonote
|
||||||
{
|
{
|
||||||
if (nettype == TESTNET)
|
if (nettype == TESTNET)
|
||||||
{
|
{
|
||||||
|
ADD_CHECKPOINT(1, "0e7e25ec4d39a98888e5b7dda643d79eb321802de4bd03686a2936b7a455a7e3");
|
||||||
|
ADD_CHECKPOINT(10, "37d2c2d9e19f2334135e2ef41184c55f5e5d1c8789a4efcc25bec775a15d783f"); //Hard fork to v8
|
||||||
|
ADD_CHECKPOINT(20, "6550adca5c4f3194609c4cd719a98fbd70c32c925ac011fd3f5d678c0961f431"); //Hard fork to v9
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (nettype == STAGENET)
|
if (nettype == STAGENET)
|
||||||
|
|
|
@ -371,7 +371,7 @@ namespace nodetool
|
||||||
std::set<std::string> full_addrs;
|
std::set<std::string> full_addrs;
|
||||||
if (nettype == cryptonote::TESTNET) {
|
if (nettype == cryptonote::TESTNET) {
|
||||||
full_addrs.insert("206.189.166.14:11180");
|
full_addrs.insert("206.189.166.14:11180");
|
||||||
full_addrs.insert("5.255.86.129:11180");
|
full_addrs.insert("104.236.48.55:11180");
|
||||||
} else {
|
} else {
|
||||||
full_addrs.insert("66.70.218.230:34567");
|
full_addrs.insert("66.70.218.230:34567");
|
||||||
full_addrs.insert("34.209.48.213:34567");
|
full_addrs.insert("34.209.48.213:34567");
|
||||||
|
|
|
@ -9123,7 +9123,7 @@ uint64_t wallet2::get_daemon_blockchain_target_height(string &err)
|
||||||
uint64_t wallet2::get_approximate_blockchain_height() const
|
uint64_t wallet2::get_approximate_blockchain_height() const
|
||||||
{
|
{
|
||||||
// time of v8 fork
|
// time of v8 fork
|
||||||
const time_t fork_time = m_nettype == TESTNET ? 1523255371 : 1524622167;
|
const time_t fork_time = m_nettype == TESTNET ? 1529020649 : 1524622167;
|
||||||
// v8 fork block
|
// v8 fork block
|
||||||
const uint64_t fork_block = m_nettype == TESTNET ? 10 : 6969;
|
const uint64_t fork_block = m_nettype == TESTNET ? 10 : 6969;
|
||||||
// avg seconds per block
|
// avg seconds per block
|
||||||
|
|
Loading…
Reference in New Issue