|
|
@ -34,7 +34,7 @@ public: |
|
|
|
CDnsSeedOpts() : nThreads(96), nDnsThreads(4), nPort(53), mbox(NULL), ns(NULL), host(NULL), tor(NULL), fUseTestNet(false), fWipeBan(false), fWipeIgnore(false), ipv4_proxy(NULL), ipv6_proxy(NULL) {} |
|
|
|
|
|
|
|
void ParseCommandLine(int argc, char **argv) { |
|
|
|
static const char *help = "Bitcoin-seeder\n" |
|
|
|
static const char *help = "hush-seeder\n" |
|
|
|
"Usage: %s -h <host> -n <ns> [-m <mbox>] [-t <threads>] [-p <port>]\n" |
|
|
|
"\n" |
|
|
|
"Options:\n" |
|
|
@ -389,9 +389,9 @@ extern "C" void* ThreadStats(void*) { |
|
|
|
} while(1); |
|
|
|
} |
|
|
|
|
|
|
|
static const string mainnet_seeds[] = {"mainnet.myhush.org", "us.madmining.club", ""}; |
|
|
|
static const string testnet_seeds[] = {"testnet.myhush.org", ""}; |
|
|
|
static const string *seeds = mainnet_seeds; |
|
|
|
static const string mainnet_seeds[] = {"dnsseed.myhush.org", "" }; |
|
|
|
static const string testnet_seeds[] = {"testnet.dnsseed.myhush.org", ""}; |
|
|
|
static const string *seeds = mainnet_seeds; |
|
|
|
|
|
|
|
extern "C" void* ThreadSeeder(void*) { |
|
|
|
//if (!fTestNet){
|
|
|
|