Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/main.cpp
Show All 31 Lines | public: | ||||
CDnsSeedOpts() | CDnsSeedOpts() | ||||
: nThreads(96), nDnsThreads(4), nPort(53), mbox(nullptr), ns(nullptr), | : nThreads(96), nDnsThreads(4), nPort(53), mbox(nullptr), ns(nullptr), | ||||
host(nullptr), tor(nullptr), fUseTestNet(false), fWipeBan(false), | host(nullptr), tor(nullptr), fUseTestNet(false), fWipeBan(false), | ||||
fWipeIgnore(false), ipv4_proxy(nullptr), ipv6_proxy(nullptr) {} | fWipeIgnore(false), ipv4_proxy(nullptr), ipv6_proxy(nullptr) {} | ||||
void ParseCommandLine(int argc, char **argv) { | void ParseCommandLine(int argc, char **argv) { | ||||
static const char *help = | static const char *help = | ||||
"Bitcoin-seeder\n" | "Bitcoin-cash-seeder\n" | ||||
"Usage: %s -h <host> -n <ns> [-m <mbox>] [-t <threads>] [-p " | "Usage: %s -h <host> -n <ns> [-m <mbox>] [-t <threads>] [-p " | ||||
"<port>]\n" | "<port>]\n" | ||||
"\n" | "\n" | ||||
"Options:\n" | "Options:\n" | ||||
"-h <host> Hostname of the DNS seed\n" | "-h <host> Hostname of the DNS seed\n" | ||||
"-n <ns> Hostname of the nameserver\n" | "-n <ns> Hostname of the nameserver\n" | ||||
"-m <mbox> E-Mail address reported in SOA records\n" | "-m <mbox> E-Mail address reported in SOA records\n" | ||||
"-t <threads> Number of crawlers to run in parallel (default " | "-t <threads> Number of crawlers to run in parallel (default " | ||||
▲ Show 20 Lines • Show All 513 Lines • Show Last 20 Lines |