MCPcopy Create free account
hub / github.com/ElementsProject/elements / Ban

Method Ban

src/banman.cpp:110–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void BanMan::Ban(const CNetAddr& net_addr, int64_t ban_time_offset, bool since_unix_epoch)
111{
112 CSubNet sub_net(net_addr);
113 Ban(sub_net, ban_time_offset, since_unix_epoch);
114}
115
116void BanMan::Discourage(const CNetAddr& net_addr)
117{

Callers 3

FUZZ_TARGET_INITFunction · 0.80
setbanFunction · 0.80
banMethod · 0.80

Calls 2

GetTimeFunction · 0.85
BannedListChangedMethod · 0.80

Tested by 1

FUZZ_TARGET_INITFunction · 0.64