Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix seed domains to resolve correctly #4

Merged
merged 1 commit into from
Apr 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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