Constructs the ban manager and loads any existing banlist from disk.
Declared in <banman.h>
BanMan(
fs::path ban_file,
CClientUIInterface* client_interface,
int64_t default_ban_time);
| Name | Description |
|---|---|
| ban_file | Path to the banlist file on disk. |
| client_interface | UI interface notified when the banlist changes, or nullptr. |
| default_ban_time | Default ban duration in seconds. |