BanMan::IsBanned

IsBanned overloads

Synopses

Declared in <banman.h>

Return whether net_addr is banned

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

Return whether sub_net is exactly banned

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

Return Value

  • true if the address is banned.
  • true if the exact subnet is banned.

Parameters

NameDescription
net_addrThe address to test.
sub_netThe subnet to test.