IsBanned overloads

Synopses

Declared in <banman.h>

Return whether net_addr is banned

[[requires_capability(0x7f2e3ae94b88)]]
bool
IsBanned(CNetAddr const& net_addr);

Return whether sub_net is exactly banned

[[requires_capability(0x7f2e3ae94cc8)]]
bool
IsBanned(CSubNet const& sub_net);

Return Value

  • true if the address is banned.

  • true if the exact subnet is banned.

Parameters

Name

Description

net_addr

The address to test.

sub_net

The subnet to test.

Created with MrDocs