CConnman::DisconnectNode

Disconnect the peer(s) matching the given node string, returning whether any matched.

Synopsis

Declared in <net.h>

bool
DisconnectNode(std::string_view node);

Return Value

true if at least one peer was disconnected.

Parameters

NameDescription
nodethe host string identifying the peer(s) to disconnect.