Skip to content

Commit

Permalink
Updated params for public testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
sn-ntu committed Dec 2, 2017
1 parent 3d2cc76 commit 7ceec07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
8 changes: 2 additions & 6 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,8 @@ class CTestNetParams : public CChainParams {
vSeeds.clear();
// nodes with support for servicebits filtering should be at the top
// zcoin test seeds
vSeeds.push_back(CDNSSeedData("45.77.245.152", "45.77.245.152", false));
// vSeeds.push_back(CDNSSeedData("beta1.zcoin.io", "beta1.zcoin.io", false));
// vSeeds.push_back(CDNSSeedData("beta2.zcoin.io", "beta2.zcoin.io", false));
// vSeeds.push_back(CDNSSeedData("54.165.247.127", "54.165.247.127", false));
// vSeeds.push_back(CDNSSeedData("45.77.244.178", "45.77.244.178", false));
// vSeeds.push_back(CDNSSeedData("45.77.143.154", "45.77.143.154", false));
vSeeds.push_back(CDNSSeedData("beta1.zcoin.io", "beta1.zcoin.io", false));
vSeeds.push_back(CDNSSeedData("beta2.zcoin.io", "beta2.zcoin.io", false));

// vSeeds.push_back(CDNSSeedData("testnetbitcoin.jonasschnelli.ch", "testnet-seed.bitcoin.jonasschnelli.ch", true));
// vSeeds.push_back(CDNSSeedData("petertodd.org", "seed.tbtc.petertodd.org", true));
Expand Down
4 changes: 2 additions & 2 deletions src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -547,8 +547,8 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
if (IsInitialBlockDownload())
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Zcoin is downloading blocks...");

// if (!znodeSync.IsSynced())
// throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Zcoin Core is syncing with network...");
if (!znodeSync.IsSynced())
throw JSONRPCError(RPC_CLIENT_IN_INITIAL_DOWNLOAD, "Zcoin Core is syncing with network...");

static unsigned int nTransactionsUpdatedLast;
if (!lpval.isNull())
Expand Down
4 changes: 2 additions & 2 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* network protocol versioning
*/

static const int PROTOCOL_VERSION = 90026;
static const int PROTOCOL_VERSION = 90024;

//! initial proto version, to be increased after version/verack negotiation
static const int INIT_PROTO_VERSION = 90013;
Expand All @@ -18,7 +18,7 @@ static const int INIT_PROTO_VERSION = 90013;
static const int GETHEADERS_VERSION = 90020;

//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 90026;
static const int MIN_PEER_PROTO_VERSION = 90024;

//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this
Expand Down

0 comments on commit 7ceec07

Please sign in to comment.