MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SeenLocal

Function SeenLocal

src/net.cpp:266–275  ·  view source on GitHub ↗

vote for a local address */

Source from the content-addressed store, hash-verified

264
265/** vote for a local address */
266bool SeenLocal(const CService& addr)
267{
268 {
269 LOCK(cs_mapLocalHost);
270 if (mapLocalHost.count(addr) == 0)
271 return false;
272 mapLocalHost[addr].nScore++;
273 }
274 return true;
275}
276
277
278/** check whether a given address is potentially local */

Callers 1

ProcessMessageFunction · 0.85

Calls 1

countMethod · 0.45

Tested by

no test coverage detected