mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
net: switch to dummy internal ip for dns seed source
This addresss the TODO to avoid resolving twice.
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
#include <vector>
|
||||
|
||||
struct CDNSSeedData {
|
||||
std::string name, host;
|
||||
std::string host;
|
||||
bool supportsServiceBitsFiltering;
|
||||
CDNSSeedData(const std::string &strName, const std::string &strHost, bool supportsServiceBitsFilteringIn = false) : name(strName), host(strHost), supportsServiceBitsFiltering(supportsServiceBitsFilteringIn) {}
|
||||
CDNSSeedData(const std::string &strHost, bool supportsServiceBitsFilteringIn = false) : host(strHost), supportsServiceBitsFiltering(supportsServiceBitsFilteringIn) {}
|
||||
};
|
||||
|
||||
struct SeedSpec6 {
|
||||
|
||||
Reference in New Issue
Block a user