diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-15 19:31:28 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-06-15 19:31:58 +0200 |
commit | bc0a895d810107132651c8178e95a981b9f3ff74 (patch) | |
tree | 3dc73383a4d0f3fefa2fdfdd85b0f2135a0343a4 /src/chainparams.cpp | |
parent | fb0ac482eee761ec17ed2c11df11e054347a026d (diff) |
Do not set extra flags for unfiltered DNS seed results
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r-- | src/chainparams.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 0005115671..8c27a578bb 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -16,14 +16,6 @@ #include "chainparamsseeds.h" -std::string CDNSSeedData::getHost(uint64_t requiredServiceBits) const { - //use default host for non-filter-capable seeds or if we use the default service bits (NODE_NETWORK) - if (!supportsServiceBitsFiltering || requiredServiceBits == NODE_NETWORK) - return host; - - return strprintf("x%x.%s", requiredServiceBits, host); -} - static CBlock CreateGenesisBlock(const char* pszTimestamp, const CScript& genesisOutputScript, uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward) { CMutableTransaction txNew; |