Skip to content

Commit

Permalink
net: change dns seeders
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackcoinDev committed Sep 27, 2024
1 parent e09d5dd commit cbdd715
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/kernel/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ class CMainParams : public CChainParams {
// This is fine at runtime as we'll fall back to using them as an addrfetch if they don't support the
// service bits we want, but we should get them updated to support all service bits wanted by any
// release ASAP to avoid it where possible.
vSeeds.emplace_back("dnsseed.blackcoin.nl"); // hosted at dns.blackcoin.nl
vSeeds.emplace_back("dnsseed2.blackcoin.nl"); // hosted at vps.blackcoin.nl
vSeeds.emplace_back("swap.blackcoin.nl"); // swapservice static node
vSeeds.emplace_back("dns2.blackcoin.nl"); // Bitcore static node
vSeeds.emplace_back("dnsseed.blackcoin.nl"); // hosted by blackcoin.nl
vSeeds.emplace_back("dnsseed2.blackcoin.nl"); // hosted by blackcoin.nl
vSeeds.emplace_back("swap.blackcoin.nl"); // hosted by blackcoin.nl
vSeeds.emplace_back("dns2.blackcoin.nl"); // hosted by blackcoin.nl

base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,25);
base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,85);
Expand Down Expand Up @@ -262,14 +262,15 @@ class CTestNetParams : public CChainParams {
assert(consensus.hashGenesisBlock == uint256S("0x0000724595fb3b9609d441cbfb9577615c292abf07d996d3edabc48de843642d"));
assert(genesis.hashMerkleRoot == uint256S("0x12630d16a97f24b287c8c2594dda5fb98c9e6c70fc61d44191931ea2aa08dc90"));

vSeeds.clear();
// nodes with support for servicebits filtering should be at the top
/*
vSeeds.emplace_back("testnet-seed.bitcoin.jonasschnelli.ch.");
vSeeds.emplace_back("seed.tbtc.petertodd.org.");
vSeeds.emplace_back("seed.testnet.bitcoin.sprovoost.nl.");
vSeeds.emplace_back("testnet-seed.bluematt.me."); // Just a static list of stable node(s), only supports x9
*/
// Note that of those which support the service bits prefix, most only support a subset of
// possible options.
// This is fine at runtime as we'll fall back to using them as an addrfetch if they don't support the
// service bits we want, but we should get them updated to support all service bits wanted by any
// release ASAP to avoid it where possible.
vSeeds.emplace_back("dnsseed.blackcoin.nl"); // hosted by blackcoin.nl
vSeeds.emplace_back("dnsseed2.blackcoin.nl"); // hosted by blackcoin.nl
vSeeds.emplace_back("swap.blackcoin.nl"); // hosted by blackcoin.nl
vSeeds.emplace_back("dns2.blackcoin.nl"); // hosted by blackcoin.nl

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

0 comments on commit cbdd715

Please sign in to comment.