diff --git a/src/avalanche.cpp b/src/avalanche.cpp --- a/src/avalanche.cpp +++ b/src/avalanche.cpp @@ -13,6 +13,16 @@ #include +/** + * Run the avalanche event loop every 10ms. + */ +static const int64_t AVALANCHE_TIME_STEP_MILLISECONDS = 10; + +/** + * Maximum item count that can be polled at once. + */ +static const size_t AVALANCHE_MAX_ELEMENT_POLL = 4096; + static uint32_t countBits(uint32_t v) { #if HAVE_DECL___BUILTIN_POPCOUNT return __builtin_popcount(v); @@ -244,17 +254,6 @@ .second; } -namespace { -/** - * Run the avalanche event loop every 10ms. - */ -static int64_t AVALANCHE_TIME_STEP_MILLISECONDS = 10; -/** - * Maximum item count that can be polled at once. - */ -static size_t AVALANCHE_MAX_ELEMENT_POLL = 4096; -} - bool AvalancheProcessor::startEventLoop(CScheduler &scheduler) { LOCK(cs_running); if (running) {