Skip to content

Commit c1be285

Browse files
committed
chainparams: make supported service bits option explicit
1 parent d5c7c1c commit c1be285

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/chainparams.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class CMainParams : public CChainParams {
126126
// Note that of those with the service bits flag, most only support a subset of possible options
127127
vSeeds.emplace_back("seed.bitcoin.sipa.be", true); // Pieter Wuille, only supports x1, x5, x9, and xd
128128
vSeeds.emplace_back("dnsseed.bluematt.me", true); // Matt Corallo, only supports x9
129-
vSeeds.emplace_back("dnsseed.bitcoin.dashjr.org"); // Luke Dashjr
129+
vSeeds.emplace_back("dnsseed.bitcoin.dashjr.org", false); // Luke Dashjr
130130
vSeeds.emplace_back("seed.bitcoinstats.com", true); // Christian Decker, supports x1 - xf
131131
vSeeds.emplace_back("seed.bitcoin.jonasschnelli.ch", true); // Jonas Schnelli, only supports x1, x5, x9, and xd
132132
vSeeds.emplace_back("seed.btc.petertodd.org", true); // Peter Todd, only supports x1, x5, x9, and xd
@@ -227,8 +227,8 @@ class CTestNetParams : public CChainParams {
227227
// nodes with support for servicebits filtering should be at the top
228228
vSeeds.emplace_back("testnet-seed.bitcoin.jonasschnelli.ch", true);
229229
vSeeds.emplace_back("seed.tbtc.petertodd.org", true);
230-
vSeeds.emplace_back("testnet-seed.bluematt.me");
231-
vSeeds.emplace_back("testnet-seed.bitcoin.schildbach.de");
230+
vSeeds.emplace_back("testnet-seed.bluematt.me", false);
231+
vSeeds.emplace_back("testnet-seed.bitcoin.schildbach.de", false);
232232

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

src/chainparams.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
struct CDNSSeedData {
1818
std::string host;
1919
bool supportsServiceBitsFiltering;
20-
CDNSSeedData(const std::string &strHost, bool supportsServiceBitsFilteringIn = false) : host(strHost), supportsServiceBitsFiltering(supportsServiceBitsFilteringIn) {}
20+
CDNSSeedData(const std::string &strHost, bool supportsServiceBitsFilteringIn) : host(strHost), supportsServiceBitsFiltering(supportsServiceBitsFilteringIn) {}
2121
};
2222

2323
struct SeedSpec6 {

0 commit comments

Comments
 (0)