CConnman::DisconnectNode

Disconnect all peers within the given subnet, returning whether any matched.

Synopsis

Declared in <net.h>

bool
DisconnectNode(CSubNet const& subnet);

Return Value

true if at least one peer was disconnected.

Parameters

NameDescription
subnetthe subnet whose peers should be disconnected.