Bitcoin Core  22.99.0
P2P Digital Currency
Classes | Variables
banman.h File Reference
#include <addrdb.h>
#include <bloom.h>
#include <fs.h>
#include <net_types.h>
#include <sync.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.


class  BanMan


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


constexpr unsigned int DEFAULT_MISBEHAVING_BANTIME = 60 * 60 * 24

Definition at line 19 of file banman.h.


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

How often to dump banned addresses/subnets to disk.

Definition at line 22 of file banman.h.