Changeset View
Changeset View
Standalone View
Standalone View
src/seeder/main.cpp
Show All 32 Lines | public: | ||||
CDnsSeedOpts() | CDnsSeedOpts() | ||||
: nThreads(96), nPort(53), nDnsThreads(4), fUseTestNet(false), | : nThreads(96), nPort(53), nDnsThreads(4), fUseTestNet(false), | ||||
fWipeBan(false), fWipeIgnore(false), mbox(nullptr), ns(nullptr), | fWipeBan(false), fWipeIgnore(false), mbox(nullptr), ns(nullptr), | ||||
host(nullptr), tor(nullptr), ipv4_proxy(nullptr), | host(nullptr), tor(nullptr), ipv4_proxy(nullptr), | ||||
ipv6_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 526 Lines • Show Last 20 Lines |