CConnman::AddedNodesContain

Return whether the given address matches one of the manually added nodes.

Synopsis

Declared in <net.h>

[[requires_capability(0x7f2e2b7494c8), requires_capability(0x7f2e289421d8), requires_capability(0x7f2e234d13b8), requires_capability(0x7f2e2737db58), requires_capability(0x7f2e235ef1e8), requires_capability(0x7f2e2a34b2d8), requires_capability(0x7f2e219f80a8), requires_capability(0x7f2e21c82f68), requires_capability(0x7f2e1aa35ac8), requires_capability(0x7f2e376b7ba8), requires_capability(0x7f2e433cd738)]]
bool
AddedNodesContain(CAddress const& addr) const;

Return Value

true if the address matches a manually added node.

Parameters

NameDescription
addrthe address to test.