Skip to content

QualityFilterState

Public Attributes

Name
std::unordered_map< std::string, int > fail_counts
std::unordered_map< std::string, int > ip_fail_counts
std::unordered_map< uint16_t, int > port_fail_counts
std::unordered_map< std::string, int > subnet_enqueue_counts
std::unordered_set< std::string > blocked_pubkeys
std::unordered_set< std::string > blocked_ips
std::unordered_set< uint16_t > blocked_ports
int block_threshold
int ip_block_threshold
int port_block_threshold
int subnet_enqueue_limit

Public Attributes Documentation

variable fail_counts

std::unordered_map< std::string, int > fail_counts {};

variable ip_fail_counts

std::unordered_map< std::string, int > ip_fail_counts {};

variable port_fail_counts

std::unordered_map< uint16_t, int > port_fail_counts {};

variable subnet_enqueue_counts

std::unordered_map< std::string, int > subnet_enqueue_counts {};

variable blocked_pubkeys

std::unordered_set< std::string > blocked_pubkeys {};

variable blocked_ips

std::unordered_set< std::string > blocked_ips {};

variable blocked_ports

std::unordered_set< uint16_t > blocked_ports {};

variable block_threshold

int block_threshold {2};

variable ip_block_threshold

int ip_block_threshold {3};

variable port_block_threshold

int port_block_threshold {4};

variable subnet_enqueue_limit

int subnet_enqueue_limit {2};

Updated on 2026-04-13 at 23:22:46 -0700