CConnman::DisconnectNode

Disconnect all peers at the given address, returning whether any matched.

Synopsis

Declared in <net.h>

bool
DisconnectNode(CNetAddr const& addr);

Return Value

true if at least one peer was disconnected.

Parameters

NameDescription
addrthe address whose peers should be disconnected.