Skip to content

Commit

Permalink
Merge pull request #4 from Sodium-Hydrogen/master
Browse files Browse the repository at this point in the history
Fix seed domains to resolve correctly
  • Loading branch information
mspicer authored Apr 15, 2021
2 parents cba1f73 + ced2898 commit 1f56b05
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,9 @@ class CMainParams : public CChainParams {
assert(genesis.hashMerkleRoot == uint256S("0x7294da28c1b8eeba868388b14e2205874fb512f0ca31c2f583002557175f2c9c"));

// Note that of those with the service bits flag, most only support a subset of possible options
vSeeds.emplace_back("seed.defcoin-ng.org", true);
vSeeds.emplace_back("seed2.defcoin-ng.org", true);
vSeeds.emplace_back("seed3.defcoin-ng.org", true);
vSeeds.emplace_back("seed.defcoin.mikej.tech", true);
vSeeds.emplace_back("seed.defcoin-ng.org", false);
vSeeds.emplace_back("seed2.defcoin-ng.org", false);
vSeeds.emplace_back("seed.defcoin.mikej.tech", false);

base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,30);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,5);
Expand Down Expand Up @@ -227,10 +226,7 @@ class CTestNetParams : public CChainParams {
vFixedSeeds.clear();
vSeeds.clear();
// nodes with support for servicebits filtering should be at the top
vSeeds.emplace_back("test.defcoin-ng.org", true);
vSeeds.emplace_back("test2.defcoin-ng.org", true);
vSeeds.emplace_back("test3.defcoin-ng.org", true);
vSeeds.emplace_back("test4.defcoin-ng.org", true);
vSeeds.emplace_back("test.defcoin-ng.org", false);

base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196);
Expand Down

0 comments on commit 1f56b05

Please sign in to comment.