Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Variables
banman.h File Reference
#include <addrdb.h>
#include <common/bloom.h>
#include <net_types.h>
#include <sync.h>
#include <util/fs.h>
#include <chrono>
#include <cstdint>
#include <memory>
Include dependency graph for banman.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BanMan
 

Variables

static constexpr unsigned int DEFAULT_MISBEHAVING_BANTIME = 60 * 60 * 24
 
static constexpr std::chrono::minutes DUMP_BANS_INTERVAL {15}
 How often to dump banned addresses/subnets to disk. More...
 

Variable Documentation

◆ DEFAULT_MISBEHAVING_BANTIME

constexpr unsigned int DEFAULT_MISBEHAVING_BANTIME = 60 * 60 * 24
staticconstexpr

Definition at line 19 of file banman.h.

◆ DUMP_BANS_INTERVAL

constexpr std::chrono::minutes DUMP_BANS_INTERVAL {15}
staticconstexpr

How often to dump banned addresses/subnets to disk.

Definition at line 22 of file banman.h.