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

Method getBanned

src/node/interfaces.cpp:148–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 return false;
147 }
148 bool getBanned(banmap_t& banmap) override
149 {
150 if (m_context->banman) {
151 m_context->banman->GetBanned(banmap);
152 return true;
153 }
154 return false;
155 }
156 bool ban(const CNetAddr& net_addr, int64_t ban_time_offset) override
157 {
158 if (m_context->banman) {

Callers 1

refreshBanlistMethod · 0.80

Calls 1

GetBannedMethod · 0.80

Tested by

no test coverage detected