mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
refactor: move DUMP_BANS_INTERVAL to banman.h
This commit is contained in:
parent
fadafb83cf
commit
fa36f3a295
2 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue