diff options
| author | Wladimir J. van der Laan <[email protected]> | 2016-06-16 10:57:55 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2016-06-16 10:57:59 +0200 |
| commit | 0a64777b909e7c29ae69a3fcf4d4e859ff375dec (patch) | |
| tree | c9c14d787415e01af5955c457c30670938ebf70e /src/chainparams.cpp | |
| parent | Merge #8207: [trivial] Add a link to the Bitcoin-Core repository and website ... (diff) | |
| parent | Do not set extra flags for unfiltered DNS seed results (diff) | |
| download | discoin-0a64777b909e7c29ae69a3fcf4d4e859ff375dec.tar.xz discoin-0a64777b909e7c29ae69a3fcf4d4e859ff375dec.zip | |
Merge #8208: Do not set extra flags for unfiltered DNS seed results
bc0a895 Do not set extra flags for unfiltered DNS seed results (Pieter Wuille)
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 000511567..8c27a578b 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; |