9#include <boost/test/unit_test.hpp>
11static const char *
TEST_HOST =
"-host=seeder.bitcoinabc.org";
13static const char *
TEST_EMAIL =
"-mbox=email@bitcoinabc.org";
26 const char *
argv[] = {
"ignored"};
62 BOOST_CHECK(opts.dumpInterval == std::chrono::seconds(entry.first));
seeder::CDnsSeedOpts opts
static const bool DEFAULT_WIPE_BAN
static const int CONTINUE_EXECUTION
static const int DEFAULT_NUM_DNS_THREADS
static const int DEFAULT_DUMP_INTERVAL_SECONDS
static const bool DEFAULT_WIPE_IGNORE
static const int DEFAULT_NUM_THREADS
static const int DEFAULT_PORT
#define BOOST_CHECK(expr)
BOOST_FIXTURE_TEST_CASE(options_defaults_test, ArgsTestingSetup)
static const char * TEST_HOST
static const char * TEST_EMAIL
static const char * TEST_NAMESERVER
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
static std::string ToString(const CService &ip)