refactor: move DUMP_BANS_INTERVAL to banman.h

This commit is contained in:
MarcoFalke
2020-03-10 09:58:49 -04:00
parent fadafb83cf
commit fa36f3a295
2 changed files with 6 additions and 7 deletions

View File

@@ -86,10 +86,6 @@ static const bool DEFAULT_PROXYRANDOMIZE = true;
static const bool DEFAULT_REST_ENABLE = false;
static const bool DEFAULT_STOPAFTERBLOCKIMPORT = false;
// How often to dump addresses to banlist.dat
static constexpr std::chrono::minutes DUMP_BANS_INTERVAL{15};
#ifdef WIN32
// Win32 LevelDB doesn't use filedescriptors, and the ones used for
// accessing block files don't count towards the fd_set size limit